Need to generate an empty line.
Posted: Thu Jul 15, 2010 4:20 am
Hi everyone
I have a requirement. My source file contain 3 types records Header follows with Item and Control records. Every file contain N number of these record sets. My requirement is after every set of these records I have to generate an empty line. Below is the example. Can anyone help me on this.
Input
------
HDR
ITM
CTR
HDR
ITM
CTR
HDR
ITM
CTR
Output
--------
HDR
ITM
CTR
HDR
ITM
CTR
HDR
ITM
CTR
I have a requirement. My source file contain 3 types records Header follows with Item and Control records. Every file contain N number of these record sets. My requirement is after every set of these records I have to generate an empty line. Below is the example. Can anyone help me on this.
Input
------
HDR
ITM
CTR
HDR
ITM
CTR
HDR
ITM
CTR
Output
--------
HDR
ITM
CTR
HDR
ITM
CTR
HDR
ITM
CTR