km_abdullah
New User
Joined: 03 Nov 2008 Posts: 60
|
|
|
|
Hello hsk,
My understanding is Detail2 record is identified by characters 'D2' in 7-8 columns. Is this correct? If so below code will work -
Code: |
//SYSIN DD *
SORT FIELDS=COPY
OUTREC IFTHEN=(WHEN=(7,2,CH,EQ,C'D2'),
BUILD=(1,4,C'00',5,74)) |
Hi all,
Please let me know if any other simpler method is available. |
|