On Thu, 19 Aug 2010 10:05:50 -0600, Steve Comstock wrote: >Bernd Oppolzer wrote: >> Hello IBM-Main, >> >> can I split a PARM on the EXEC statement, which is too long, >> in two parts (on two lines), without having a comma inserted? >> >> Thanks, regards >> >> Bernd > >Yes. For example: > >//STEPPER EXEC PGM=MYPROG,PARM='BLAH BLAH BLAH .... BLA >// H BLAH BLAH' > >That is: > >* Code the parm string up to and including col. 71 (do not close the quotes) >* resume the string exactly in col. 16 > Do you need to put a mark in col. 72?
>that should do it. > Sometimes. RTFM further, you will find that it must not be split within a symbol name. It does not sqy, but I've discovered, that it must not be split between two apostrophes used to represent a single apostrophe. I'll submit a PMR on this someday. I haven't tried splitting between two ampersands used to represent a single ampersand, but I'm not optimistic. Naive coders did it wrong again. The continuation should be resolved before symbol, apostrophe, and ampersand resolution, not after. These things are important and troublesome to programmers using a program to generate JCL. But there seems to be no practical limit on the number of continuation lines. I've tried thousands with no problem. I hate JCL! -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

