Hi Kees

"Have I defined it"?    In a SET statement you mean?
I didn't think you had to, LYYMMDD is a system-defined dynamic symbol,
isn't it?

Sean

On 6 June 2018 at 15:36, Vernooij, Kees (ITOPT1) - KLM <
[email protected]> wrote:

> 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:[email protected]] On
> > Behalf Of Rob Schramm
> > Sent: 06 June, 2018 16:29
> > To: [email protected]
> > 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 <[email protected]> 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 [email protected] with the message: INFO IBM-MAIN
> > >
> > --
> >
> > Rob Schramm
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] 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 [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

Reply via email to