Hi,
I was curious what the behavior is when a sequence restarts. Specifically on the User Variable Activity that is before the job failure.
For example...we have 2 jobs followed by the user variable activity followed by 7 jobs. If the job 6 after the UVA aborts and we reastart we assumed that the UVA would not rerun on restart.
During one of the failures it appears it is rerunning but we do not see anything in the director log for this.
what is the behavior on the UVA stage on restart?
Thanks - - John
Sequence and User Variable Activity stage during restart
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am
I'm not aware of any special 'restart rules' for the UVA stage so I assume it follows all of the normal rules. Meaning, once it has been 'checkpointed' it will not run on restart and you would override that behavior by enabling the 'Do not checkpoint' property. But it's been quite a while and things may have changed (or be broken) in the latest release. Hopefully someone has direct experience with this who can chime in.
Out of curiosity, what behavior do you see that makes you think it is rerunning?
Out of curiosity, what behavior do you see that makes you think it is rerunning?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am
Hi Craig,
We had the sequence initially kick of at 9:39 PM and one of the jobs aborted. We then restarted the sequence at 11:39 PM and one of the variables in the User Variable stage uses the macro DSJobStartTimestamp for an assignment. We found that one of the later jobs that ran the second time around and uses this variable had a timestamp of when the sequence ran the second time on restart:
jpSeqStartTimeStamp=2017-01-30 23:39:19
where we were assuming it would keep the value from the initial failed run.
jpSeqStartTimeStamp=2017-01-30 21:39:00
I also noticed that the UVA stage does not have a checkbox for 'Do not checkpoint' property.
Thanks - - John
We had the sequence initially kick of at 9:39 PM and one of the jobs aborted. We then restarted the sequence at 11:39 PM and one of the variables in the User Variable stage uses the macro DSJobStartTimestamp for an assignment. We found that one of the later jobs that ran the second time around and uses this variable had a timestamp of when the sequence ran the second time on restart:
jpSeqStartTimeStamp=2017-01-30 23:39:19
where we were assuming it would keep the value from the initial failed run.
jpSeqStartTimeStamp=2017-01-30 21:39:00
I also noticed that the UVA stage does not have a checkbox for 'Do not checkpoint' property.
Thanks - - John
-
- Premium Member
- Posts: 425
- Joined: Sat Nov 19, 2005 9:26 am
- Location: New York City
- Contact:
-
- Premium Member
- Posts: 306
- Joined: Wed Jun 21, 2006 11:41 am
This is the right view. Macro-based variables always evaluate at runtime, regardless of previous values in a restart scenario. Any such value that you must retain on restarts needs to be saved and referenced where needed upon restart.
How you do that will be complicated. Please post about your efforts and results.
How you do that will be complicated. Please post about your efforts and results.
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson
Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson
Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872