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

How to continue message while using OUTREC FIELDS to next li


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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

Moderator Emeritus


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

PostPosted: Wed Sep 21, 2011 5:00 pm
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: 2455
Location: Hampshire, UK

PostPosted: Wed Sep 21, 2011 5:43 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts IMS Message : DFS3577A IMS DB/DC 4
No new posts dsnrexx fails without error message CLIST & REXX 9
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
Search our Forums:

Back to Top