Yes, you're right - I have used my example for cases in which the variables &CURRDATE and &CURRTIME are substituted more than once. Thanks.
On Wed, 30 Jul 2014 01:56:32 -0700, Walter Marguccio <[email protected]> wrote: >Hello again, Peter's sample would work coding: //H2PC���� EXEC PGM=FTP,PARM='(EXIT' //MYFILE�� DD DISP=SHR,DSN=MY.DATASET //OUTPUT�� DD SYSOUT=* //SYSIN��� DD *,SYMBOLS=EXECSYS mypc mypw put DD://MYFILE test.file.&LYYMMDD..&LHHMMSS..txt no EXPORT, no SET. The z/OS 2.1 Initialization and Tuning Reference claims &DATE, &LDATE, &TIME and <IME as old sysmbols. Maybe this is the reason why they do not get resolved when used in the JCL above. � Walter Marguccio z/OS Systems Programmer BELENUS LOB Informatic GmbH Munich - Germany > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to [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
