Page 1 of 1

%%ODATE inside JCL script

Posted: 27 Sep 2013 5:26
by yskw1024
Hi,

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

Thanks.

Posted: 30 Sep 2013 7:24
by Klaus
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

Posted: 04 Oct 2013 10:31
by yskw1024
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. ; )