How may I obtain the JobStatus from an After-Job Subroutine in DS 7.5 on Unix? I mean getting the "Finished", "Finished(with warnings)", "Aborted" (or something similar in numerical form).
I tried to get it via
DSGetJobInfo(DSJ.ME, DSJ.JOBSTATUS)
but apparently, this always gives 0 as the job hasn't finished yet...is there any possibility or is it just not possible?
Getting JobStatus in After-Job Subroutine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 42
- Joined: Tue Oct 20, 2009 8:36 am
-
- Participant
- Posts: 42
- Joined: Tue Oct 20, 2009 8:36 am
The question is quite clear, however I for one don't have an answer. If you've found that checking the interim status doesn't differentiate between those two end states, I'm not sure how else you would go about it. Not saying it can't be done, just that off the top of my head I don't know how. Never mind the fact that I stopped doing validation runs years ago when you no longer had to do them to create hashed files. ![Wink :wink:](./images/smilies/icon_wink.gif)
![Wink :wink:](./images/smilies/icon_wink.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 42
- Joined: Tue Oct 20, 2009 8:36 am
-
- Participant
- Posts: 42
- Joined: Tue Oct 20, 2009 8:36 am