Hello Group,
I am not good at CLIST but we have requirement of using SFTP with below detail 1) We have to send one mainframe PS dataset to windows system 3 times in a day using SFTP 2) For doing this, I wrote below command list which can achieve this. OPUT 'TEST1.PR.BAS' '/sftp/file/tstpre.np' OSHELL { echo 'lcd /sftp/file/' ; + echo 'bin'; + echo '!chmod 660 tstpla.np'; + echo 'cd C:\SFTP'; + echo 'mput tstpla.np' ; + echo 'lcd /sftp/file/' ; + echo '!rm -r /sftp/file/tstpla.np' ; + sftp -p -v vbuser@10.68.30. <mfuser@127.0.0.1>125 /* I will use this code into one member and called by JCL as input. 3) But as requirement is to send this file 3 times in a day, so every time this file gets over written by previous file. So, to isolate this, we would like to add date and time stamp at the end of file every name before sending from Mainframe to window. So, that every time file name will be different and will not be over written. Can you please help me to achieve this using CLIST to call system date and time value into variable and then put this variable as LLQ of this file and then transfer to windows. Thanks in advance. Regards Venkat ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN