I used this JCL:
//<job card>
//*
//SYMBOLS  EXPORT SYMLIST=*
//STEP1    EXEC PGM=IEFBR14
//*
//ISUP     DD   DISP=(NEW,CATLG),
//         DSN=SH71167.IS.ACTIVE.ON.&SYSNAME..D&LYYMMDD.,
//         SPACE=(TRK,(0,1)),
//         LRECL=133,BLKSIZE=1330,RECFM=FB,
//         VOL=SER=,
//         UNIT=SYSDA

And got these results:
IEF236I ALLOC. FOR SH71167T STEP1
IGD101I SMS ALLOCATED TO DDNAME (ISUP    )
        DSN (SH71167.IS.ACTIVE.ON.CP9S.D180607           )
        STORCLAS (PERF1) MGMTCLAS (TMAMLYBW) DATACLAS (        )
        VOL SER NOS= SH9DAU
IEF142I SH71167T STEP1 - STEP WAS EXECUTED - COND CODE 0000

Are you specifying "EXPORT SYMLIST" in your JCL?

On Wed, Jun 6, 2018 at 9:26 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
>

----------------------------------------------------------------------
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