As some have pointed out, there is no Dynamic symbol resolution in MVS for 
Date.  You have to use one of several processes,

However, if the JCL is an STC, there might be the ability to you a SYSTEM 
symbolic - &YYMMDD, but it only works for STCs.  It will not work for regular 
JCL (AFAIK).

Otherwise,

REXX or CLIST process
Scheduler Software
Manually code it in the JCL


No other options that I know about.

Lizette

>
>Yes that is correct, sory for the type error. Please let me know is this can 
>be done thru jcl other than rexx
>
>Lizette Koehler <[EMAIL PROTECTED]> wrote:  Oh, and I forgot one IMPORTANT 
>element.
>
>JCL will not ALLOW the use of all numbers as a qualifer. You would need to 
>specify 
>
>userid.test.D050807
>
>userid.test.05082007 Will have a JCL failure.
>
>Lizette
>
>>
>>Raj,
>>
>>Only way is through a Scheduler Product (Control-, Jobtrace, CA-11) or build 
>>a REXX/Clist to submit the JCL after it is built.
>>
>>As for Read Only - that would be the actions of your security (Top Secret, 
>>ACF2, RACF)
>>
>>Lizette
>>
>>> 
>>> I need one help, could some one please let me know how this can be done . 
>>> We n eed to create a file name appended with the current date dynamically 
>>> ie if we ran today the file has to created like the below
>>> 
>>> userid.test.05082007
>>> 
>>> Could some one also let me know is there any way by which the created file 
>>> is made read only.
>>> 
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to