Joined: 10 Dec 2010 Posts: 96 Location: Massachusetts
I have a Parmlib (80 bytes) that holds keys that are in an 319 byte data set at posiition 35 and can be 20 bytes long. This parmlib member gets updated frequently so the requirement changes and I have to run a report which I have been asked to overhaul.
3615 0000000 0
my task is to find that key and get the order number at 24,04,PD from F1.
Then from the order file (F2) 45,7,ZD LRECL 1034 bytes:
find the F1 order number and write out the F1 data and the F2 data as one record with Reformat probably.
Only have the starting key for this req. I checked posts for UNPAIRED and could not identify a workable solution that I could plagarize.
OUTPUT FB ???? s/b 1034 (order record)
MATCHED RECORD FROM FILE-1 AND FILE-2 ?? s/b 1034 (order record)
UNMATCHED RECORDS FROM FILE-2 ?? s/b discarded, bit bucket
UNMATCHED RECORDS FROM FILE-1 ?? s/b discarded, bit bucket
What is s/b discarded, bit bucket mean? S/B stands for Should be? Can we stick to plain English instead of Chat/Twitter language ? This job gets you all the matched records from the file with LRECL 1034