just now reading the rest of you response, sorry A.D.D. kicking in 
I think I found what I needed searching for using symbols in JCL and brought me 
to the KB, 
to see what system symbols are available on your system 
MVS command 'D SYMBOLS' 


Carmen 


----- Original Message -----

From: "Bill Ashton" <[email protected]> 
To: [email protected] 
Sent: Friday, May 5, 2017 8:50:17 AM 
Subject: Re: JCL System symbols 

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? 

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 


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

Reply via email to