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


__iew_get_return_code() – Get a return code from API context

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

A return code, indicating the completion status of the requested function, is returned by most of the API calls. Return codes are interpreted as follows:

  • 0 - Successful completion of the operation.
  • 4 - Successful completion, but an unusual condition existed.
  • 8 - Error condition detected.
  • 12 - Severe error encountered.
  • 16 - Termination error.

The __iew_get_return_code() function returns binder API return code which is stored in the API context from previous API call. It is used as an alternative to retrieving the return code from API context.

Format

#include <__iew_api.h>
unsigned int __iew_get_return_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_return_code() returns binder API return code.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014