I have a fixed block dataset whose LRECL is 8.
I want to extract the record, and its subsequent records, if the record start with 'D' and a 'A' is present in the fifth column till another 'D' is found in the first position. For an example, if the data is present as below
the output would contain all the records with fonts RED
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
devil13 wrote:
Kindly get back to me in case of any concern
Devil13,
You just forgot to trim the pushed value from output. Assuming OP needs only the first 9 bytes. He needs to use the BUILD statement on the outfil as follows.