In my JES2PARM, in the definition of the job class that I'd run this job 
in, I specify SYSSYM=ALLOW. I'm sure you could put this in dynamically 
with a $T of some sort. You'll also need the two periods as Rob stated.

Andrew Arentsen
Senior Mainframe Systems Engineer




From:   "Sean Gleann" <[email protected]>
To:     [email protected]
Date:   06/06/2018 09:35 AM
Subject:        Re: Use of dynamic system symbols in JCL
Sent by:        "IBM Mainframe Discussion List" <[email protected]>



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 <[email protected]> wrote:

> 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 IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


**********************************************************************
This e-mail is confidential. If you are not the intended recipient, you must 
not disclose or use the information contained in it. If you have received this 
e-mail in error, please tell us immediately by return e-mail and delete the 
document.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to