Yep, need to make sure SYSSYM=ALLOW for that jobclass,
CLASS og XBMProc DupJob JobRC Active SysSym 1 PIN) NO MAXRC YES ALLOW 2 PIN) NO MAXRC YES ALLOW in a STC I run at IPL time I do about the same.... //CLEAN EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD *,SYMBOLS=EXECSYS DEL 'ATTS.PROD.&SYSNAME..IPLINFO' /* //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO', // DYNAMNBR=99 //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR //SYSTSPRT DD DSN=ATTS.PROD.&SYSNAME..IPLINFO,DISP=(,CATLG), // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE), // RECFM=FBA,LRECL=134,BLKSIZE=0 //SYSTSIN DD DUMMY //* //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10 //SYSPRINT DD SYSOUT=* //SYSUT1 DD DISP=SHR,DSN=SYS1.&SYSNAME..PARMLIB //SYSUT2 DD DISP=(,CATLG), // DSN=ATTS.PROD.SYSA.D&LYYMMDD..T&LHHMMSS..PARMLIB, // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE) of course STC .... Carmen Vitullo ----- Original Message ----- From: "Andrew Arentsen" <andrew.arent...@acuity.com> To: IBM-MAIN@LISTSERV.UA.EDU Sent: Wednesday, June 6, 2018 9:43:25 AM Subject: Re: Use of dynamic system symbols in JCL 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" <sean.gle...@gmail.com> To: IBM-MAIN@LISTSERV.UA.EDU Date: 06/06/2018 09:35 AM Subject: Re: Use of dynamic system symbols in JCL Sent by: "IBM Mainframe Discussion List" <IBM-MAIN@LISTSERV.UA.EDU> 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 ********************************************************************** 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 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