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...
Continue reading...