× 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.



Just use MONITOR. I tested it previously. It should work. 

-----Original Message-----
From: Jonathan Mason [mailto:jonathan.mason@xxxxxxxxxxxxxxxx]
Sent: Friday, May 27, 2005 2:41 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Trapping erros in QCAPCMD


I have a program that makes a call to the QCAPCMD api to run a variety of
commands.  However, occasionally a command fails and an exception message is
sent before control is returned to the calling RPG ILE program.

In my program I am coding for errors being returned by QCAPCMD, but as the
exception is happening before control is returned I am stuck.  Is there any
way to prevent the api from generating the exception message and to pass
control back to the calling RPG ILE program?

Thanks

Jonathan







As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.