Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dynamic date variant

Former Member
644

Hi Gurus,

I've a dynamic system date variant for my program, which runs in background. I have no issue with variant, it works fine. But when I went to job log to check the old jobs that has dynamic date variant, it always refer to current system date. Anybody can suggest me how to fix it to show the actual variant at the time of job run?

Regards, Raju.

3 REPLIES 3
Read only

Former Member
0 Likes
569

what is the job log? Is it SM37 / protocol / spool / step / variant?

Read only

former_member585060
Active Contributor
0 Likes
569

Hi,

The dynamic date variant must be set to use current system date that is the reason it is always showing you the current date. So the actual variant date will be the date on which the job was run.

Thanks & Regards

Bala Krishna

Read only

Former Member
0 Likes
569

The dynamic date overwrites the value that it was saved with at the time of processing.  What you see when you display it is the value at the time it was saved (the non-dynamic value).  There is no way to see the value at the time it was run.  At least not that I know.

You can however compute it if you know that the variant hasn't been changed since it was run.

Neal