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
 

 

How to continue message while using OUTREC FIELDS to next li

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ppandey07

New User


Joined: 27 Nov 2008
Posts: 51
Location: Delhi, India

PostPosted: Wed Sep 21, 2011 4:21 pm    Post subject: How to continue message while using OUTREC FIELDS to next li
Reply with quote

Hi there,
I am using OUTREC fields in sort card. Please have a look below.
OUTREC FIELDS=(1:C'J',2:2,9,11:C'aaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaa')
This one is running fine for first line. However, when I am trying to continue message to next line. getting Syntex error.

Please advise.
Back to top
View user's profile Send private message

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Wed Sep 21, 2011 4:36 pm    Post subject:
Reply with quote

You can use something like this
Code:
  OUTREC FIELDS=(1:C'1SAJFLSAJFLASJLFJALSJFDLSAJLFJASLJFLASJLF', 
                C'1SAJFLSAJFLASJLFJALSJFDLSAJLFJASLJFLASJLF')     
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Wed Sep 21, 2011 5:00 pm    Post subject: Reply to: How to continue message while using OUTREC FIELDS
Reply with quote

Perhaps also consider putting that in a SYMNAME. Keep the control cards looking clearer. Indeed, why not put everything in the SYMNAMES and have some nice self-documenting control cards?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1722
Location: UK

PostPosted: Wed Sep 21, 2011 5:43 pm    Post subject:
Reply with quote

or look at the manual and find out how to continue records
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 Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
This topic is locked: you cannot edit posts or make replies. Job to wait and continue based on reply yugendran COBOL Programming 5 Wed Oct 05, 2016 1:46 pm
No new posts SORT- outrec ram_vizag DFSORT/ICETOOL 10 Tue Sep 27, 2016 12:50 am
No new posts Not enough virtual memory is availabl... Vinay Pushpala IBM Tools 16 Tue Sep 13, 2016 4:37 pm


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