Author: Arun Raj
Posted: Tue Feb 07, 2017 9:33 pm (GMT 5.5)
The BUILD parameter in each OUTFIL group lets you choose specific fields from the REFORMAT-ted combined record (161 bytes in your case).
It is just a matter of writing first 80 bytes of the reformatted record into your first OUTFIL and the next 80 bytes of the reformatted record into your second OUTFIL.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard
Posted: Tue Feb 07, 2017 9:33 pm (GMT 5.5)
Quote: |
In my case I want to write only F1 records into OFILE1 upon condition , how does it know it should write only F1 records? |
It is just a matter of writing first 80 bytes of the reformatted record into your first OUTFIL and the next 80 bytes of the reformatted record into your second OUTFIL.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard