I only get this error if the variable has not been defined. Have you defined it? Kees.
> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Rob Schramm > Sent: 06 June, 2018 16:29 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Use of dynamic system symbols in JCL > > You need 2 dots after symbol.. otherwise nodeis GT 8 characters > > Rob > > On Wed, Jun 6, 2018, 10:27 AM Sean Gleann <sean.gle...@gmail.com> wrote: > > > Can anyone point out what I'm doing wrong here, please? > > > > > > I'm trying to create a file with a name that features today's date. > > My statement is: > > //OUTFILE DD DSN=BACKUP.USERDALY.D&LYYMMDD.TER, > > // DISP=(NEW,CATLG,DELETE),SPACE=(TRK,(600,600),RLSE), > > // DSORG=PS,RECFM=FB,BLKSIZE=27648,LRECL=1024 > > > > When I submit the job to the system, I get: > > > > IEFC627I INCORRECT USE OF AMPERSAND IN THE DSN FIELD > > > > I've tried numerous variants of this statement, but I always get the > same > > failure. > > I'm almost certainly doing something stupid, but right now I can't see > the > > wood for the trees... > > > > > > Help... Please... > > > > Sean Gleann > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > > -- > > Rob Schramm > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN