Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
__iew_openW() – Open workmod z/OS MVS Program Management: Advanced Facilities SA23-1392-00 |
|
The __iew_openW() creates a context(_IEWAPIContext) and initializes all of the parameters in the context and loads IEWBIND into memory. If successful, the context is created and returned to user for all subsequent API calls. This is a ‘C’ function equivalent to binder API STARTD and CREATEW. Note: In order to meet the PSW key requirement for
the invocation environment, __iew_openW() may save the current PSW
and the job step TCB keys. (See Environment and Setting the invocation environment).
This will be enabled by default if the program calling the Binder C/C++ API DLL functions is running under CICS®. It can be explicitly disabled by setting the environment variable IEWBNDD_JSTCBKEY to the value "NO", or explicitly enabled by setting IEWBNDD_JSTCBKEY to "YES", prior to calling __iew_openW(). If enabled for this and all other Binder C/C++ API function calls using the API context returned by this __iew_openW() call, the PSW key will be set to the job step TCB key and then reset back to the current PSW key, around every Binder regular API function call. Format
Parameters Descriptions
Returned ValueIf successful, __iew_openW() returns API context. If unsuccessful, __iew_openW() returns NULL. Note: The returned value is the same as the code returned by a subsequent
__iew_get_return_code().
Utilities Functions__iew_create_list() |
Copyright IBM Corporation 1990, 2014
|