#include <xxdtaa.h>
#include <except.h>

#pragma exception_handler (oops, 0, 0, _C2_MH_ESCAPE, _CTLA_HANDLE, "CPF1015")
QXXRTVDA (dataAreaName, 1, sizeof(dataAreaInfo), (char *) &dataAreaInfo);
#pragma disable_handler
oops:

On 12/15/2014 5:52 PM, Zvi Kave wrote:
My ILE C program crashes in the line of QXXRTVDA if data does not exist.
Is there a way to avoid this crash ?
Someone has an example code for this?

The line is like this:
QXXRTVDA(dta, 41, 5, user_dta);
and I got program crash with the message:
"Data area DTA in QGPL not found."

If data area dta exists, it works fine.

Regards,

Zvi


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