Hello,
I have an after job subroutine and I would like it to call the DSJobReport at the end of the routine.
However, I can't seem to execute the
CALL DSJobReport(abcd)
I even tried using
CALL DSU.DSJobReport(abcd) but it did not work.
And I tried defining it first. And this didn't work too
Deffun DSJobReport(abcd) calling 'DSU.DSJobReport'
CALL DSJobReport(abcd)
Any suggestions on why it is not working and how to overcome it?
Another thing, is there any other way to call 2 end of job subroutine from the job properties page?
Thanks in advance for everyone's help...
TY
How to call DSJobReport from another subroutine??
Moderators: chulett, rschirm, roy
I found DSU.DSJobReport in the project, and it takes 2 parameters - but I couldn't find it described anywhere in the docs. Are you sure you don't want to call the documented DSMakeJobReport(JobHandle,ReportL,Separator) instead?
You can only call one after-job subroutine, but you can always have your subroutine call another using the CALL mechanism.
You can only call one after-job subroutine, but you can always have your subroutine call another using the CALL mechanism.
</a>