Good Day,
I have a question regarding before-job routines....
I have created a before-job routine called "MyRoutine" which is running fine. I also have a Server Job where I have written some job control code. Within this job control code I would like to call the routine "MyRoutine". Is there any way to utilize "MyRoutine" within the scope of a server job's job control code? Within the documentation, I have seen an example where a second before-job routine calls the first before-job routine. However, I would think that would be different than calling the routine from a server job's job control code. Am I wrong?
After, looking at the documentation and this forum, it looks like what I am looking to do is not possible......
I tried using the following statement, but it is failing:
ErrorCode = Subr("DSU.MyRoutine","MyArg",ErrorCode)
Any advice or suggestions would be greatly appreciated... My apologies if this issue has already been addressed.
Thanks,
ecwolf
Executing Before Job Routine From Job Control Code
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom