rajesh_1183
Active User
Joined: 24 Nov 2005 Posts: 121 Location: Tadepalligudem
|
|
|
|
Hi,
I am trying to sort the input file and wants the output with few fields of input file....I am using Include COND & outrec for that....but I am getting an abend U0016 with sysout msg "OUTREC RDW NOT INCLUDED"....
I wrote the sort card as
SORT FIELDS=COPY
OUTREC FIELDS=(1:23,13,14:C'#',15:46,10,
25:C'#',26:112,1,
27:C'#',28:124,2,
30:C'#',31:113,1,
32:C'#',33:76,8,
41:C'#',42:184,28,
70:C'#',71:442,10,
81:C'#',82:330,4,
86:C'#',87:286,8,
95:C'#',96:56,4,
100:C'#',101:214,2)
INCLUDE COND=(56,4,CH,EQ,C'88CR',AND,
(214,2,CH,EQ,C'AP'))
plz try to help me asap....its urgent.....
and the output dataset parameters are......
DSN=..............
DCB=(RECFM=FB,LRECL=102,BLKSIZE=0),
DISP=(NEW,CATLG,DELETE),
UNIT=TESTDA,
SPACE=(CYL,(100,100),RLSE)
Thanks,
Rajesh |
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
For a VB input file, the first field you specify for OUTREC must be or include the 4-byte RDW in positions 1-4, and the first data byte starts in position 5, not position 1.
Code: |
OUTREC FIELDS=(1:1,4,5:23,13,...)
|
Adjust all the columns and the LRECL accordingly. |
|