guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Priya,
A data set with RECFM=VB and LRECL=80 is a variable-length (VB) data set with a maximum record length of 80-bytes. For a VB data set, different records can have different lengths. The first four bytes of each record contain the Record Descriptor Word or RDW, and the first two bytes of the RDW contain the length of that record (in binary). The first data byte of a VB record is in position 5, after the 4-byte RDW.
so u should be careful while specifing it in sort card if u want to sort file on first 4byte of alphatical data then u should mention in the sort card
SORT FIELDS=(5,4,CH,A)
Hope it will helpful |
|