Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Syncsort Problem using Header & Trailer

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Syncsort Problem using Header & Trailer
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    Post subject:
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    Post subject:
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: 151
Location: Tokyo, Japan

PostPosted: Thu Jul 29, 2004 7:11 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us