|
On 1/22/07, rob@xxxxxxxxx <rob@xxxxxxxxx> wrote:
What STDERR? Is that anything like registering an error handler in ILE? Note: For better handling of errors than QCMDEXC look at QCAPCMD. system() is nice but even QCMDEXC can show you more error detail (by looking in the program status data structure). QCAPCMD http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rbam6/excmd.htm Even though it is called a "command analyzer", and it mighty cool for prompting commands to be stored in a menu system, it also can be told to actually execute those commands. And the return data is better than QCMDEXC or system().
Ugh, too fast on the Send button. The command I am designing uses an RPGLE program as a CPP; within that RPG program, error conditions may occur that I want to be able to issue escape messages for. As I am examining my requirements and refreshing my foggy memory, I think this will be best accomplished using the Send Program Message (QMHSNDPM) API. Sorry for posting before I thought this through. - Dan
As an Amazon Associate we earn from qualifying purchases.
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.