Add Parameter To Quit Statement To Return Value To Caller

  • Thread starter Thread starter Riverside Software
  • Start date Start date
Status
Not open for further replies.
R

Riverside Software

Guest
It's currently not possible to return a value to the shell when exiting a Progress session, so there's no easy way to know if a batch session was successful or not. Trapping return code (using $? or %ERRORLEVEL%) is especially useful when dealing with scheduled tasks, cron jobs, or even just when you need to execute two batch sessions, and the second session depends on success of the first one (&& on command line).

Continue reading...
 
Status
Not open for further replies.
Back
Top