On Friday, 10/14/2005 at 08:07 ZE8, John Summerfied
<[EMAIL PROTECTED]> wrote:

> I have suggested several times writing the return code to a separate
> descriptor - I nominated 4 for no particular reason, but I don't recall
> any response to that. The writing can be unconditional; a script-writer
> can use it, a commandline user ignore it.

As long as the command handles the diag8 error codes in a useful way, this
works.  A command line user who runs with SET EMSG ON (as all Good Doobies
will) does not need to see the CP command return code since it will be
part of any message header.  The only exception is CP RC=1 (the diag
completes ok, but the command wasn't recognized).  This case plus all
error returns from the diag itself need to result in messages sent to
stderr.

Alan Altmark
z/VM Development
IBM Endicott

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to