× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks, Vern, I found it!

BTW, RTVMSG in the original post should have been RCVMSG, obviously,
given the context of the question.

I'm trying to get a feel for how RCVMSG works.  Can I assume that, to
get to the QSH0005 message, all I need to do is a single "RCVMSG
MSGTYPE(*COMP) MSGDTA(&EXITSTSCHR)"?  I thought I've seen code before
that shows RCVMSG used in a loop to weed through several messages to
get to the one you're looking for, but a search turned up no good
explanation for how this works.  Anybody have a good link and/or a
short explanation to post?

TIA, Dan


--- Dan <dbcemid@yahoo.com> wrote:
> How does one go about checking the exit status code of a qsh command
> in
> CL?  I see the QSH0005 completion message shows the exit status, but
> don't know which message file it comes from (so I can see where to
> check in the MSGDTA).  (How does one determine the message file of a
> given message description???)
>
> If someone has example code to do this, could you post?
>
> If not, I presume I'll have to loop to RTVMSG until I get a QSH0005
> and
> check the MSGDTA?
>
> Or is there some other way to check this?
>
> TIA, Dan

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


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.