z/OS MVS Program Management: Advanced Facilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


__iew_get_reason_code() – Get a reason code from API context

z/OS MVS Program Management: Advanced Facilities
SA23-1392-00

The reason code identifies the nature of the problem. It is zero if the return code was zero, a valid reason code otherwise. Reason codes are in the format 0x83eegggg. ee is 00 except for logic errors and abends when it is EE or FF respectively. gggg contains an information code.

The __iew_get_reason_code() function returns binder API reason code which is stored in the API context from previous API call.

Format

#include <__iew_api.h>
unsigned int __iew_get_reason_code(_IEWAPIContext *__context);

Parameters Descriptions

__context
API context is created and returned by calling __iew_openW() and is used throughout the open session.

Returned Value

__iew_get_reason_code() returns binder API reason code.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014