Posted: Tue May 05, 2009 7:04 pm Post subject: Parsing occurences of moveable data.
i have a series of FB 80 records, in which some, but not all, have, at a variable position the characters ".R1", ".R2", or ".R3".
I want to write out only records which have one of the ".R" variants, AND
a 4 byte blank field 7 bytes beyond where the ".R" variant started.
I've tried several (thousand?) variants on
to form an "intermediate" record bering "flags" and the original data, hoping to use OUTREC processing to select only those "tagged" records.
I strongly suspect I may be barking up a blue herring!
Can anyone help?
Steve _________________ The only stupid question is the one you DON'T ask!
Joined: 18 Feb 2006 Posts: 812 Location: San Jose, CA
Posted: Tue May 05, 2009 8:01 pm Post subject:
Please show me an example of your input records and what you expect for output. Show all of the variations you need to handle in the example. _________________ Frank Yaeger - DFSORT Development Team (IBM) - email@example.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum