For system symbols - make sure you have the ability to create them. They are documented in the MVS INIT and Tuning https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieae200/dynpsm.htm
Make sure on the JES2 JOBCLASS definition in JES2 you verify how this is coded SYSSYM whether it is allowed or disallowed. Specifies whether system symbols are substituted in batch jobs that are submitted in this JOBCLASS. Symbols are substituted when the job is processed by the z/OS converter using the system symbols that are set on the system where the conversion occurs. Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Carmen Vitullo > Sent: Friday, May 05, 2017 6:44 AM > To: [email protected] > Subject: Re: JCL System symbols > > Bill I have a proc that starts @ IPL time to copy parmlib datasets to a > backup using date time > > > i use this > > > > //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,ACCT=(S,0602,0599) > //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 > //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB > //SYSUT2 DD DISP=(,CATLG), > // DSN=ATTS.PROD.SYSC.D&LYYMMDD..T&LHHMMSS..PARMLIB, > // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE) > //SYSIN DD DUMMY > ----- Original Message ----- > > From: "Bill Ashton" <[email protected]> > To: [email protected] > Sent: Friday, May 5, 2017 8:38:50 AM > Subject: JCL System symbols > > Hi again...I have searched, and must be looking for the wrong thing, so I > hope you can help me. > > Is there a system symbol I can use in my DSN that has the current date in it? > I understand the implications of cross-date boundaries, etc., and am looking > to try something using the date in my dataset name. > > Also, do I need to export the symbol if it is a system symbol, or can I use > it in JCL and control cards without the export? > > Thanks again, and have a great, sunny weekend! > > -- > Thank you and best regards, > *Billy Ashton* > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
