What you have coded will produce more than 8 characters in the last node.

Have you verified the symbol works?

Maybe use a SET XXXYYYY = &LYYMMDD.  ?

Rob


On Wed, Jun 6, 2018, 10:35 AM Sean Gleann <sean.gle...@gmail.com> wrote:

> I understand what you're saying Rob, but that was one of the variants I
> tried. It still produces the same error
>
> Sean
>
> On 6 June 2018 at 15:29, Rob Schramm <rob.schr...@gmail.com> wrote:
>
> > 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 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

Reply via email to