The confusion might be caused by text in lower case. Clist is mainly uppercase language.
ITs hak בתאריך יום ד׳, 20 בפבר׳ 2019, 0:34, מאת Seymour J Metz <sme...@gmu.edu>: > What concatenation is it in? > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > ________________________________________ > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf > of ITschak Mugzach <imugz...@gmail.com> > Sent: Tuesday, February 19, 2019 11:26 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: TSO CLIST Query > > Tso think that this is a rexx exec not a clist. What are your site defaults > for execs and clist? > > ITschak > > > > בתאריך יום ג׳, 19 בפבר׳ 2019, 18:21, מאת FRISBIE, JIM < > jim.fris...@ncsecu.org>: > > > I'm trying to write a CLIST to make life easier on our Operations staff. > > They constantly have problems correctly entering the dataset name of the > > offload tape, so I created this simple CLIST to help. > > > > > > > > PROC 1 OFILE > > > > CONTROL MSG LIST CONLIST > > > > WRITE DSN=&OFILE > > > > $TOFFLOAD1,DSN=&OFILE > > > > > > > > From ISPF, the operator issues =3.4 to list the available offload tapes. > > > > > > > > DSLIST - Data Sets Matching TS.PSYS.OFF* > > > > Command ===> > > > > > > > > Command - Enter "/" to select action > > > > ----------------------------------------- > > > > TS.PSYS.OFF1.FEB01 > > > > TS.PSYS.OFF1.FEB04 > > > > TS.PSYS.OFF1.FEB05 > > > > offdsn TS.PSYS.OFF1.FEB06 > > > > TS.PSYS.OFF1.FEB07 > > > > TS.PSYS.OFF1.FEB08 > > > > TS.PSYS.OFF1.FEB11 > > > > TS.PSYS.OFF1.FEB12 > > > > TS.PSYS.OFF1.FEB13 > > > > TS.PSYS.OFF1.FEB14 > > > > > > > > My plan was that the operator would select the correct tape and enter the > > CLIST name in the command line. The CLIST would do the rest. > > > > > > > > The CLIST returns the selected data set name but it's enclosed in single > > quotes. I'm including the message it returns: > > > > > > > > WRITE DSN='TS.PSYS.OFF1.FEB06' > > > > DSN='TS.PSYS.OFF1.FEB06' > > > > $TOFFLOAD1,DSN=&OFILE > > > > $TOFFLOAD1,DSN='TS.PSYS.OFF1.FEB06' > > > > A command entered or contained in a CLIST has invalid syntax. > > > > > > > > How do I turn off those quotes? > > > > > > Jim Frisbie > > Mainframe Engineering > > Sr Systems Programmer > > 919-831-4711 > > > > This email may contain confidential and privileged material for the sole > > use of the intended recipient. If you are not the intended recipient, > > please contact the sender and delete all copies. Any review or > distribution > > by others is strictly prohibited. Personal emails are restricted by > policy > > of the State Employees' Credit Union (SECU). Therefore SECU specifically > > disclaims any responsibility or liability for any personal information or > > opinions of the author expressed in this email. > > > > ---------------------------------------------------------------------- > > 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 > > ---------------------------------------------------------------------- > 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