× 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 Eric!

Is it usually enough to know that QSH0002 was issued, or do you want to 
interrogate the reason
code and/or error number?  The message shows what the reason codes are, but 
they are very vague. 
Where are the errno's documented?  Are they set by the Java application?

Specifically, I have been asked to trap errors such as when the spool file no 
longer exists when
the java program expects it to be available to create the PDF from it.  Also, 
any errors when the
email fails to send.  

Bottom line:  It would be nice to be able to issue a message "PDF creation 
failed because spool
file no longer exists".  Note: I would like to avoid having to test for its 
existence before
calling the java program.

--- "DeLong, Eric" <EDeLong@xxxxxxxxxxxxxxx> wrote:
> Dan
> 
> QSH throws an *Escape message QSH0002 to return error notification to OS400.
> Read the HELP for the QSH command, and you will find:
> 
> *ESCAPE Messages                                                   
> QSH0002     Error found with QSH session, reason code &1, errno &2.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.