No, they're unrelated.  uv will finish irrespective of whether or not 
@SYSTEM.RETURN.CODE is set.  The exit status of uv only reports whether you 
were successful in invoking the environment (for example try in a non-account 
directory).

> ----- Original Message -----
> From: "phil walker" <[EMAIL PROTECTED]>
> To: u2-users@listserver.u2ug.org
> Subject: [U2] [UV] exit status and @SYSTEM.RETURN.CODE
> Date: Mon, 31 Jul 2006 20:29:13 +1200
> 
> 
> I am calling a UniVerse BASIC program TEST from the UNIX command prompt
> using the following command 'uv "TEST"' which sets @SYSTEM.RETURN.CODE
> to various values. I was hoping to be able to check the exit status of
> the uv command thinking that @SYSTEM.RETURN.CODE may be used to set the
> exit status, but it appears that is not the case. Is this expected
> behaviour, or is there a way of doing this, apart from displaying the
> value of @SYSTEM.RETURN.CODE and capturing the output.
> 
> Phil.
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to