tisamf
New User

Joined: 08 Mar 2017 Posts: 1 Location: India
|
|
|
|
Hi, I have gone through many posts but unable to find exact answer. My requirement is to append current month and year format in the data set specified in JCL
For example,
| Code: |
//Jobname ....Job card
//STEP01 EXEC PGM=SORT
//SORTIN DD *
&file='data1/CB1234MMYY.txt'
&msg='CB1234MMYY.int'
//SORTOUT DD output file
//SYSIN DD * |
What should be the condition here so that the output data set will have data:
&file='data1/CB12340317.txt'
&msg='CB12340317.int
Where 0317 is current month and year in MMYY format.
Note: I can not use REXX tool for this.
Any help will be appreciated.
coded and 'file' changed to 'data set' |
|