In the JCL before he tried PARMDD I saw "&ACTION" followed by a letter; did he doe the same thiong with PARMDD or did he have a period in between?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [0000000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, December 1, 2021 2:19 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Trying to use long parm= in started task On Wed, 1 Dec 2021 18:51:57 +0000, Seymour J Metz wrote: >It's not easy to demo the OP's JCL without knowing what it is. At this point I >don't know whether "&ACTION" appeared after PARMDD and I don't know whether it >was followed with a period. > The period should be unnecessary if &ACTION is sufficiently delimited lexically. I believe the OP stated (and you quoted) that neither SET nor EXPORT SYMLIST=* satisfied the need for a reference to an argument. This is stupidity or indolence of the developers. The arguments of SET, EXPORT, and the instream text are available to the reader/converter to verify that the arguments are referenced. (I suspect that any APAR will be closed PRS. Perhaps USER.) >> > On Wed, Dec 1, 2021 at 8:27 AM Colin Paice wrote: >> > > ... >> > > One attempt is below. >> > > >> > > //COLWEB PROC ACTION='start', >> > > // DIR='/usr/lpp/ihsa_zos', >> > > // CONF='/u/mqweb3/conf/httpd.conf', >> > > // T='-t -DDUMP_CONFIG' >> > > //*--------------------------------------------------------- >> > > >> > > >> > > >> > > *// EXPORT SYMLIST=* // SET A1='' // SET D1='&DIR' // SET >> > > T2='&T' * >> > > //IHS EXEC PGM=BPXBATCH,REGION=0M >> > > //STDIN DD *,*SYMBOLS=EXECSYS * >> > > >> > > >> > > *&D1/bin/apachectl -k &A1 -f &&ACTIONCONF -DNO_DETACH &T2 * >> > > *blah blah blah* >> > > /* >> > > //STDOUT DD SYSOUT=H >> > > //STDERR DD SYSOUT=H >> > > //STDENV DD DISP=SHR,DSN=USER.Z24C.PROCLIB(HTTPENV) >> > > >> > > >> > > *//DUMMY EXEC PGM=IEFBR14,REGION=0M, // PARM='&ACTION &DIR &CONF' >* >> > > >> > > *//DUMMY2 EXEC PGM=IEFBR14,REGION=0M, // PARM='&T' * >> > > // PEND ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN