: MIDRANGE dot COM Mailing List Archive

Re: CL's STDERR converted to RPG?


AddThis Feed Button


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





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2010 by MIDRANGE dot 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 here. If you have questions about this, please contact