d_sarlie
New User
Joined: 22 Apr 2008 Posts: 42 Location: coimbatore
|
|
|
|
Hi,
Can someone say me how I need to change the control card.
SYSIN :
SORT FIELDS=(23,3,CH,A,26,3,CH,A)
INREC FIELDS=(23,3,26,3)
WER276B SYSDIAG= 4549846, 7549468, 7549468, 4196550
WER164B 65,540K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 992K BYTES USED
WER146B 32K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SORTIN : RECFM=FB ; LRECL= 38; BLKSIZE= 27930
WER073I SORTIN : DSNAME=TCV.SMS26D.R070.NEWACTY.MAT
WER257I INREC RECORD LENGTH = 6
WER027A CONTROL FIELD BEYOND RECORD
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
Thanks
Jeba |
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
INREC operates before SORT. So you are making a six-byte record, then trying to SORT on the original positions. Since you only seem to want those six bytes, SORT on (1,6,CH.A).
Use BUILD on INREC, OUTREC and OUTFIL (instead of FIELDS, FIELDS and OUTREC respectively) anyway. Won't fix your problem, but it'll drag your control cards into the 21st Century. |
|