JCL & apostrophe



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

JCL & apostrophe

Postby rayngerfan » Wed Jun 17, 2009 8:44 pm

To Whom It May Concern:

I have a symbolic called RC that contains an apostrophe, but the symbolic also needs quotes surrounding it. This is causing a JCL error. I tried double apostrophe, but that doesn't work. Any ideas?????

EX:
RC='THE CHILDREN'S PLACE RETAIL STORES, INC.'
rayngerfan
 
Posts: 51
Joined: Fri Apr 17, 2009 4:57 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL & apostrophe

 

Re: JCL & apostrophe

Postby dick scherrer » Wed Jun 17, 2009 11:39 pm

Hello,

Suggest you post a more complete example.

Symbolic parameters typically customize jcl. What is the RC used for?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: JCL & apostrophe

Postby Bill Dennis » Thu Jun 18, 2009 9:19 am

Use four quotes inside the RC symbolic value and be sure the JCL also has quotes around where RC is used
//MY PROC                               
//ALLOC1  EXEC PGM=IEFBR14,PARM='&RC'   
// PEND                                 
// EXEC MY,RC='IT''''S MY LIFE'         
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL