Hi Peter,
AFAIK, there is no IBM-Supplied System Symbol &MMDDYYYY. Due to this,
this would cause &TODAY to not resolve.
Please see: z/OS system symbols - IBM Documentation
<https://www.ibm.com/docs/en/output-manager/3.1.0?topic=SSKJLZ_3.1.0/bjturszs.htm>
Regards,
David
On 2025-04-17 08:21, Peter Ten Eyck wrote:
Struggling to ftp a dataset with today's date in the name. This job does not
work:
//********************************************************
//** FTP TO CMOD SERVER
//********************************************************
// SET TODAY=&MMDDYYYY
// EXPORT SYMLIST=(TODAY)
//STEPB EXEC PGM=FTP,
// PARM='CPL101.DNxxxxxx.xxxxxNET.COM'
//OUTPUT DD SYSOUT=*
//NETRC DD *
machine cpl101.DNxxxxxx.xxxxxxxx.com login xxxxxx password xxxxxxxx
//SYSIN DD *,SYMBOLS=JCLONLY
BIN
CD /CMOD/ANI/load
PUT 'SPD2.RACF.ZEKE.RACFGRP' +
CTLD.ZEJRFGRP.ANI_90D_3YR_AGT.RCKX..&TODAY.00000000.ARD
QUIT
//*
The above job gets this result: EZA1701I >>> STOR
CTLD.ZEJRFGRP.ANI_90D_3YR_AGT.RCKX..&TODAY.00000000.ARD. Substitution does not work.
Any suggestions on how to get this working.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email [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