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

Reply via email to