IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

WER027A CONTROL FIELD BEYOND RECORD


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
d_sarlie

New User


Joined: 22 Apr 2008
Posts: 42
Location: coimbatore

PostPosted: Thu Jul 24, 2014 10:10 pm
Reply with quote

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
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Jul 24, 2014 11:15 pm
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top