You have numerics after a period.  You'll need a .D and a 7 digit date.

On Thu, Apr 17, 2025 at 7:21 AM Peter Ten Eyck <
[email protected]> 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 to [email protected] with the message: INFO IBM-MAIN
>


-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

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

Reply via email to