> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On 
> Behalf Of Adam Thornton
> Sent: Friday, October 07, 2005 11:03 AM
> To: LINUX-390@VM.MARIST.EDU
> Subject: Re: 2005-10-04 Recommended Linux on zSeries code 
> drop to developerWorks
> 
> 
> On Oct 7, 2005, at 10:55 AM, Ingo Adlung wrote:
> > David,
> > I beg you pardon, but i don't like the CP return code approach.
> > While a VM
> > "widget" it is nonetheless a Linux module and should adhere to
> > Linux return
> > code principles. But your point is well taken, it would certainly be
> > valuable
> > to describe how those get mapped to Linux values.
> 
> Well, if we're outputting error text to stderr, how about a defined
> text format for that output which includes the CP DIAG return code
> (or perhaps, retcode, reason code, text)?  Then I can parse that with
> "cut" or something if I want the equivalent of parsing Diagrc
> (08,whatever) in my scripting code, and perhaps also a -q option to
> say, "emit no output to either stdout or stderr, just tell me the
> return code."
> 
> Adam

Well, if we're putting in "blue sky" ideas, I think it might be nice to
have an option to direct the output to a file (instead of or in addition
to stdout/stderr). The output should be in XML format. OK, I'm getting a
bit crazy now. But there are a TON of well defined XML parsers that
could be used in an application which might use this interface (say for
a GUI or something).


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

----------------------------------------------------------------------
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