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

Syncsort Problem using Header & Trailer


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

New User


Joined: 24 Jun 2004
Posts: 24
Location: Gurgoan

PostPosted: Mon Jul 19, 2004 3:34 pm
Reply with quote

Code:

//SYSIN   DD *               
   SORT   FIELDS=(1,15,CH,A) 
   OUTFIL OUTREC=(2:17,5,   
                  10:1,16,   
                  35:22,40),
              HEADER1=(1:'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~', 
                       41:'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'), 
              TRAILER1=(2/,10:'NUMBER OF RECORDS: ',COUNT)
/*
           

When I using the above code I am getting error U0016. I am not able to tell why. It is givin syntax error in OUTFIL statement.
Back to top
View user's profile Send private message
maples

New User


Joined: 28 Jul 2004
Posts: 4

PostPosted: Wed Jul 28, 2004 7:35 pm
Reply with quote

what sir,
if u itself got doubt in main frames ,what will happen to u r student
ok bye
k mani(vizag maples)
Back to top
View user's profile Send private message
maples

New User


Joined: 28 Jul 2004
Posts: 4

PostPosted: Wed Jul 28, 2004 7:36 pm
Reply with quote

what sir(ravi kiran),
if u itself got doubt in main frames ,what will happen to u r student
ok bye


k mani(vizag maples)
Back to top
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 150
Location: Tokyo, Japan

PostPosted: Thu Jul 29, 2004 7:11 am
Reply with quote

Kello Kiran,

Here the error is due to record length mismatch, I guess.

80 BYTE HEADER/TRAILER RECORD EXCEEDS 75 BYTE LRECL FOR SORTOUT

Regards,
Sandip.[/code]
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 Compare only first records of the fil... SYNCSORT 7
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Insert header record with record coun... DFSORT/ICETOOL 14
No new posts Insert trailer for non empty file only DFSORT/ICETOOL 6
No new posts z/vm installation problem All Other Mainframe Topics 0
Search our Forums:

Back to Top