knobi
New User
Joined: 16 Aug 2005 Posts: 54
|
|
|
|
i think i'm missing something here..... below are my code...
For some reason, when checking the seqnum after the job run (temp file), it says that the first line is the 00000001 ... so i assume my inrec is processed after the omit.... this causes the out file to be generated without any header. any thoughts to bypass this ?
Code: |
//SYSIN *
INREC IFTHEN=(WHEN=INIT,OVERLAY=(260:SEQNUM,8,ZD))
OMIT COND=((01,80,SS,EQ,C'HEADER I DONT WANT1'),OR,
(01,80,SS,EQ,C'HEADER I DONT WANT2'),OR,
(01,80,SS,EQ,C'HEADER I DONT WANT3'),OR,
(01,80,SS,EQ,C'HEADER I DONT WANT4'),OR,
(01,20,CH,EQ,C'HEADER I DONT WANT5'),OR,
(01,30,SS,EQ,C'HEADER I DONT WANT6'),OR,
((01,10,SS,EQ,C'HEADKEEP1'),AND,
(260,8,ZD,NE,00000001)),OR,
((20,40,SS,EQ,C'HEADKEEP2'),AND,
(260,8,ZD,NE,00000002)))
SORT FIELDS=COPY
//
OUTREC BUILD=(1,250) |
|
|