Right but the thing returns reason codes with the QSH0005 number. I can't find the definition of the reason codes.

I don't need it any longer, though, as I found a script from Scott Klement that lets me do what I need using expect and environment variables. Very cool I must say.

- Larry "DrFranken" Bolhuis

www.frankeni.com
www.iDevCloud.com
www.iInTheCloud.com

On 6/7/2015 12:48 PM, Jack Kingsley wrote:

Maybe??

When the command ends, STRQSH sends one of three messages:

- QSH0005 when the process running the command ends normally. The
message includes the exit status of the process.
- QSH0006 when the process running the command ends by signal. The
message includes the signal number.
- QSH0007 when the process running the command ends by exception.

By default, the messages are sent as completion messages. You can have the
messages sent as escape messages by setting the environment variable
QIBM_QSH_CMD_ESCAPE_MSG. When the value of the environment variable is "Y",
the QSH0006, and QSH0007 messages are always sent as escape messages and
the QSH0005 message is sent as an escape message if the exit status is
greater than zero.


On Sun, Jun 7, 2015 at 11:36 AM, DrFranken <midrange@xxxxxxxxxxxx> wrote:

Where are these defined? Try as I might finding them evades me......

--

- Larry "DrFranken" Bolhuis

www.frankeni.com
www.iDevCloud.com
www.iInTheCloud.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.