Hi,
I am using DSJOBInfo function in one of the routine stages in a SEQ.
But the problem is , when i check the option "Log warnings after activities that finish with status other thanok" in seq job properties.
The seq errors out saying
JobControl (@DSJobSuccess): Routine DSU.DSJobInfo did not finish OK, return code = '1'
Issue with DSJobinfo
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 137
- Joined: Sun Jan 07, 2007 11:17 pm
- Location: VISAKHAPATNAM
-
- Participant
- Posts: 137
- Joined: Sun Jan 07, 2007 11:17 pm
- Location: VISAKHAPATNAM
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You have a routine activity calling one of your routines DSJobInfo. Whenever a routine returns other than 0 this is regarded - by the "automatically handle" mechanism - as a failure. Either change the routine to return 0 or include an explicit Failure trigger - which takes precedence over the automatic handling mechanism - on the routine activity.
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.
-
- Participant
- Posts: 137
- Joined: Sun Jan 07, 2007 11:17 pm
- Location: VISAKHAPATNAM
I have used another routine activity to use DSjobWARN function to trap the warning generated by a sub seq of a main seq.chulett wrote:The 'online' help for that checked option in Sequence jobs fully explains how to fix your problem. So open one, go to Job Properties and click the Help button. ...
The issue is fixed now.
Thanku
I ll also check the help.
-
- Participant
- Posts: 137
- Joined: Sun Jan 07, 2007 11:17 pm
- Location: VISAKHAPATNAM
Well, then a Help button anywhere inside an open Sequence job will get you there, then find the help for the Job Property we've been discussing. Or open the full help from the menu and use the Index or Search tabs to find it. It *is* there.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers