%%ODATE inside JCL script

Several scripts
Post Reply
User avatar
yskw1024
Nouveau
Nouveau
Posts: 2
Joined: 27 Sep 2013 12:00

%%ODATE inside JCL script

Post by yskw1024 » 27 Sep 2013 5:26

Hi,

Is it possible to pass the %%ODATE parameter in to JCL script of a job?

Thanks.

Klaus

Post by Klaus » 30 Sep 2013 7:24

I use external cmd-files with parameters from the set-tab.
To excamble in the tab "Set" as VarName "PARM1" and as Value "%%ODATE"
This is given to the external cmd-file as parameter %1.
There you can use it like
prog.exe %1

If you like to use it internal, then you can us it like
Blanko_Negativ_Normab_%%PARM1..XLS

Regards

Klaus

User avatar
yskw1024
Nouveau
Nouveau
Posts: 2
Joined: 27 Sep 2013 12:00

Post by yskw1024 » 04 Oct 2013 10:31

Hi Klaus,

Thanks for you advise.

I understand it can be done by using external script file.

But this time I would like to do by using JCL script.

Thanks anyway. ; )

Post Reply