Trying to do an ftp from mainframe (z/OS v1.7) to a network server. I would like to be able append the system date to the dataset in the put statement. Is there a symbolic parameter for date that will allow me to do this?
//FTPTEST JOB (JOB,JOB),'RHARRIS',CLASS=Z,MSGCLASS=M //STEP01 EXEC PGM=FTP //SYSFTPD DD DSN=parmlib(FTPSDATA),DISP=(SHR,KEEP,KEEP) //SYSTCPD DD DSN=parmlib(TCPDATA),DISP=(SHR,KEEP,KEEP) //SYSMDUMP DD SYSOUT=* //SYSPRINT DD SYSOUT=* //OUTPUT DD SYSOUT=* //INPUT DD * xxx.xxx.xxx.xxx userid password PUT 'randys.test.ftp.dataset' ''randys.test.ftp.dataset.Dyymmdd' QUIT /* Thanks, Randy Harris Lane Furniture Industries, Inc. Tupelo, MS 38802 Phone: 662-566-3447 rhar...@furniturebrands.com<mailto:rhar...@furniturebrands.com> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html