The mailing list program is making me add some random text here so that it won't think this is a Listserve command.
Here is an example of what you need to do: // EXPORT SYMLIST=* ... //PARMS DD *,SYMBOLS=JCLONLY &FOO,&BLAH, &BAR /* Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Styles, Andy (ITS zPlatform Services) Sent: Wednesday, December 1, 2021 2:01 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Trying to use long parm= in started task Classification: Public Providing it's running under JES2 or JES3 and not SUB=MSTR, instream data in procedures is fine: //PGM EXEC PGM=FRED,PARMDD=PARMS //PARMS DD * blah blah blah Andy Styles z/Series System Programmer -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Colin Paice Sent: 01 December 2021 09:12 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Trying to use long parm= in started task *** This email is from an external source - be careful of attachments and links. Please report suspicious emails *** 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 <mike.a.sch...@gmail.com> wrote: > PARMDD. > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww. > ibm.com%2Fdocs%2Fen%2Fzos%2F2.1.0%3Ftopic%3Dparameter-examples-parmdd& > amp;data=04%7C01%7CAndy.Styles%40LloydsBanking.com%7Cb569694c823e46cb1 > 59f08d9b4aac859%7C3ded2960214a46ff8cf4611f125e2398%7C0%7C0%7C637739467 > 878831910%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi > LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=qNneGDjjrQT88PlsI1Y35p > eTnmPLF6zMqCNK6ol%2Fe0A%3D&reserved=0 > > On Wed, Dec 1, 2021 at 8:27 AM Colin Paice <colinpai...@gmail.com> 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 lists...@listserv.ua.edu 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 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 Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland no. SC95000. Telephone: 0131 225 4555. Lloyds Bank plc. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales no. 2065. Telephone 0207626 1500. Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland no. SC327000. Telephone: 03457 801 801. Lloyds Bank Corporate Markets plc. Registered office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales no. 10399850. Scottish Widows Schroder Personal Wealth Limited. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales no. 11722983. Lloyds Bank plc, Bank of Scotland plc and Lloyds Bank Corporate Markets plc are authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and Prudential Regulation Authority. Scottish Widows Schroder Personal Wealth Limited is authorised and regulated by the Financial Conduct Authority. Lloyds Bank Corporate Markets Wertpapierhandelsbank GmbH is a wholly-owned subsidiary of Lloyds Bank Corporate Markets plc. Lloyds Bank Corporate Markets Wertpapierhandelsbank GmbH has its registered office at Thurn-und-Taxis Platz 6, 60313 Frankfurt, Germany. The company is registered with the Amtsgericht Frankfurt am Main, HRB 111650. Lloyds Bank Corporate Markets Wertpapierhandelsbank GmbH is supervised by the Bundesanstalt für Finanzdienstleistungsaufsicht. Halifax is a division of Bank of Scotland plc. HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland no. SC218813. This e-mail (including any attachments) is private and confidential and may contain privileged material. If you have received this e-mail in error, please notify the sender and delete it (including any attachments) immediately. You must not copy, distribute, disclose or use any of the information in it or any attachments. Telephone calls may be monitored or recorded. ---------------------------------------------------------------------- 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