>>I am trying to detect the success of failure of a BASIC program when running from UNIX. I was going to use @SYSTEM.RETURN.CODE setting to do this, >>hoping that the exit status of uvsh would reflect the value set for @SYSTEM.RETURN.CODE but it appears this is not the case. Does anyone know if >>this works and I am just missing something silly?
Well I use another approach. It's not pretty, but it works. This runs from a UNIX shell script. $UDTBIN/udt<<EOD>>FILES_LOG/CONV_NBCAFG.LOG RUN IH-BPGM CONV_NBCAFG -N bye EOD In this case the output of the program is redirected to a log file, but if there was a way to redirect to a shell variable you could test the variable for success or failure. Charles Shaffer Senior Analyst NTN-Bower Corporation _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
