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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
No new posts Write record twice based on condition... SYNCSORT 7
No new posts Problem moving a cobol program into E... COBOL Programming 3
No new posts Create a FTP record with help of SYNC... SYNCSORT 3
No new posts SORT on detail record, then repeat he... DFSORT/ICETOOL 3
Search our Forums:


Back to Top