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

Continuation of symbolics in a PROC


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

New User


Joined: 31 Oct 2006
Posts: 48
Location: Chennai

PostPosted: Thu Jun 05, 2008 6:17 pm
Reply with quote

Hi,
I do want to declare a symbolic in a proc, but the length of the symbloic is too long.

//TEST PROC NX=,
// PARM='LANG(UE),F(I,I),NODBCS,OFF,NOLIST,TRUNC(OPT),NODYN,CP(500),NOC(E),DATA(31),DTR,OPT(FULL)'

Could you please let me know the syntax to denote continuation in symbolics.

Thanks,
OP
Back to top
View user's profile Send private message
Manuneedhi K

Active User


Joined: 07 May 2008
Posts: 115
Location: Chennai

PostPosted: Thu Jun 05, 2008 6:38 pm
Reply with quote

Remove the quotes and enclose the parms into braces. Like the one below.

Code:

//         PARM=(LIB,MAP,OFF,TRUNC(OPT),X,OPT,       
//         DYNAM,RENT,FSRT,AWO)                       
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Jun 05, 2008 6:45 pm
Reply with quote

Continuing Parameter Fields Enclosed in Apostrophes
Code:

// PARM='LANG(UE),F(I,I),NODBCS,OFF,NOLIST,TRUNC(OPT),NODYN,CP(500),NOC
               (E),DATA(31),DTR,OPT(FULL)'
00000000011111111112222222222333333333344444444445555555555666666666677777777778
12345678901234567890123456789012345678901234567890123456789012345678901234567890
Back to top
View user's profile Send private message
op

New User


Joined: 31 Oct 2006
Posts: 48
Location: Chennai

PostPosted: Thu Jun 05, 2008 8:44 pm
Reply with quote

Thanks a lot. Only the 2nd suggestion works.
Back to top
View user's profile Send private message
Manuneedhi K

Active User


Joined: 07 May 2008
Posts: 115
Location: Chennai

PostPosted: Thu Jun 05, 2008 8:47 pm
Reply with quote

What error did you encounter when you use the braces? I had tested that before posting and it worked fine for me.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Jun 05, 2008 9:09 pm
Reply with quote

When the PARM has special chars like (OPT) or blanks you must enclose the string on each line in single quotes inside the main parens.
Code:

//         PARM=('LIB,MAP,OFF,TRUNC(OPT),X,OPT',       
//         'DYNAM,RENT,FSRT,AWO')                       
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 Proc print in Mainframe All Other Mainframe Topics 4
No new posts trying to set return code in PROC JCL & VSAM 15
No new posts Execute DSNTEP2 in REXX which is call... CLIST & REXX 4
No new posts proc step return code to override in ... JCL & VSAM 3
No new posts Can we pass cobol pointer to cobol-db... DB2 4
Search our Forums:

Back to Top