Job finish with DSJS.RUNWARN
Moderators: chulett, rschirm, roy
Job finish with DSJS.RUNWARN
The statua DSJS.RUNWARN is obtained when job finishes a normal run with warning.How can i achieve this.The job should not abort but finish with warning.
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Hi,
if jobs are in job sequence in job activity stage we should set triggers for that. In triggers we should set expression type as custom and write expression call activityvarible jobstatus=runok(system varible) or jobstatus=runwarn(systemvarible). then the job wont abort and after finishing if u have any warning the result is finished with warnings.
Thanks
v..
if jobs are in job sequence in job activity stage we should set triggers for that. In triggers we should set expression type as custom and write expression call activityvarible jobstatus=runok(system varible) or jobstatus=runwarn(systemvarible). then the job wont abort and after finishing if u have any warning the result is finished with warnings.
Thanks
v..
Hi,vinsashi wrote:Hi,
if jobs are in job sequence in job activity stage we should set triggers for that. In triggers we should set expression type as custom and write expression call activityvarible jobstatus=runok(system varible) or jobstatus=runwarn(systemvarible). then the job wont abort and after finishing if u have any warning the result is finished with warnings.
Thanks
v..
You can start new post for this.
or this is same question as you would be from same team.
Re: Job finish with DSJS.RUNWARN
Hi,
You can also achieve this by setting the trigger in that link as --
"Executed ok" OR "Execution finished with warnings".
You can also achieve this by setting the trigger in that link as --
"Executed ok" OR "Execution finished with warnings".
Re: Job finish with DSJS.RUNWARN
I'm afraid this doesn't make much sense yet. Once a job decides to abort there's no way to make it end with a different status. Are you asking about the warning limit you can set at runtime that says to abort the job after X warnings? That can be set to unlimited so what warnings don't cause aborts. Not a great idea but you can do it.pqrabc wrote:The status DSJS.RUNWARN is obtained when job finishes a normal run with warning. How can i achieve this. The job should not abort but finish with warning.
Actually, as requested can you clarify your question or situation please.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There is only one way to prevent a job from aborting, and that is to design it so that it does not abort.
Some aborts (for example database unavailable) can not be designed around.
There is NO WAY to demote an abort message to a warning; indeed server jobs do not support message handlers at all.
Some aborts (for example database unavailable) can not be designed around.
There is NO WAY to demote an abort message to a warning; indeed server jobs do not support message handlers at all.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.