Issue while running After-job subroutine
Posted: Fri Oct 05, 2012 3:38 am
I have created a routine to compare data in 2 sequential files and take action on sync/non-sync scenarios. The arguments for the routine are the file path and I see ErrorCode is automatically added when I select the Type as 'Before/After subroutine'. In this case how should deal with the ErrorCode. I have specified the below statement as last line in routine
In the After job subroutine, I provided the argument as filepath 0
How should I define this? When I execute the job there is an issue with the error code returned. The error that I get is
What could be the issue here? Appreciate your help!
Code: Select all
Ans = ErrorCode
How should I define this? When I execute the job there is an issue with the error code returned. The error that I get is
Code: Select all
After-job routine returned error: Error variable unassigned on return from AFTER routine DSU.testroutine