Problem: In ID003, there is a subkey (two-digit) which I'd like to sort. However, ID003's position is variable because not all IDs are always present, like the 2nd record, where ID002 is omitted.
SORTIN : RECFM=VB ; LRECL= 29998; BLKSIZE= 30002
INREC RECORD LENGTH = 30002
POTENTIALLY INEFFICIENT USE OF INREC
OUTREC RECORD LENGTH = 29998
SORTOUT : RECFM=VB ; LRECL= 29998; BLKSIZE= 30002
23,592K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
0 BYTES RESERVE REQUESTED, 23,592K BYTES USED
G=1068,SEGLEN=23000
INREC - SHORT RECORD
SYNCSMF CALLED BY SYNCSORT; RC=0000
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
Also, in this case your description about the problem gave a good hint. However, it's good if you post the "messgae identifiers" too, when you post the SYSOUT messages.
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
anshul_gugnani wrote:
Code:
SORTIN : RECFM=VB ; LRECL= 29998; BLKSIZE= 30002
INREC RECORD LENGTH = 30002
POTENTIALLY INEFFICIENT USE OF INREC
OUTREC RECORD LENGTH = 29998
SORTOUT : RECFM=VB ; LRECL= 29998; BLKSIZE= 30002
23,592K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
0 BYTES RESERVE REQUESTED, 23,592K BYTES USED
G=1068,SEGLEN=23000
INREC - SHORT RECORD
SYNCSMF CALLED BY SYNCSORT; RC=0000
There are message IDs in front of each of these lines, why did you not bother to include them?