PARMDD was the easy bit. But how do you get the started task parameters into PARMDD?
On Wed, 1 Dec 2021 at 08:44, Mike Schwab <[email protected]> wrote: > PARMDD. > https://www.ibm.com/docs/en/zos/2.1.0?topic=parameter-examples-parmdd > > On Wed, Dec 1, 2021 at 8:27 AM Colin Paice <[email protected]> wrote: > > > > I want to use a started task to start my web browser, but the size of the > > parameters exceeds the 100 char limit for parm= > > > > Is there a nice way of passing the data? > > > > Ive tried using symbols, and passing them in to an instream dataset, with > > SYMBOLS=.... > > I then need dummy steps to actually use the parameters, otherwise you get > > IEFC657I THE SYMBOL ACTION WAS NOT USED > > > > 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='&ACTION' // SET D1='&DIR' // SET > > T2='&T' * > > //IHS EXEC PGM=BPXBATCH,REGION=0M > > //STDIN DD *,*SYMBOLS=EXECSYS * > > > > > > *&D1/bin/apachectl -k &A1 -f &CONF -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 [email protected] with the message: INFO IBM-MAIN > > > > -- > Mike A Schwab, Springfield IL USA > Where do Forest Rangers go to get away from it all? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
