On Fri, May 5, 2017 at 8:50 AM, Bill Ashton <[email protected]> wrote:
> Carmen, that's just what I need - thanks so much! > > On a related note, is there a way to find out all the system symbols, so I > don't have to keep asking one-off questions here? > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieae200/dynpsm.htm The key phrase is "dynamic system symbols" &LYYMMDD == 170505 for today 5 May 2017, local time &YYMMDD == 170505 for GMT of today, 5 May 2017. May be different from &LYYMMDD based on TZ. &LHHMMSS == hhmmss (08:54:10 here in Texas right now) &HHMMSS == hhmmss in GMT (13:54:10 equivalent "instant" as above). From experimentation on a single system (no NJE available), this is resolve by the converter when the JCL is "expanded" from what was submitted into the internal CI form. > > Thanks! > B > > On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <[email protected]> > wrote: > > > 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 > > > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > > > > > -- > 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 > -- Advertising is a valuable economic factor because it is the cheapest way of selling goods, particularly if the goods are worthless. -- Sinclair Lewis Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
