Posted: Wed Oct 17, 2007 1:29 am Post subject: How to sort a VB length
Hi,
I am trying to sort the input file which is of VB format 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".... My JCL look like this......
and i even tried to increasing the LRECL by 4 byte and also tried the OUTREC as OUTREC FIELDS=(1:1,4,1:6,7)...still i am getting the same err.....Plz help me....
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Wed Oct 17, 2007 10:11 am Post subject:
The correct statement would be:
Code:
OUTREC BUILD=(1,4,6,7)
For VB records, you have to specify the RDW (1,4). You can specify the data bytes (6,7) after the RDW.
Code:
OUTREC FIELDS=(1:1,4,1:6,7)
This won't work because you specified 1: after 1:1,4 which results in overlapping fields - 1:1,4,5:6,7 would work.
Code:
OUTREC FIELDS=(5:6,7)
This won't work because the RDW is not specified. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
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