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


__iew_saveW() – Save workmod

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

Stores the active workmod on DASD. Can be used either to store a new or modified program after __iew_bind() or to copy a module.

Format

#include <__iew_api.h>
int __iew_saveW(_IEWAPIContext *__context,
                             const char *__dd_or_path, 
                             const char *_sname,
                             _IEWAPIFlags __flags);

Parameters Descriptions

__context
API context is created and returned by calling __iew_openW() and is used throughout the open session.
__dd_or_path
DD name or pathname.
__sname
member name of the program to be saved in the target library.
__flags
API flags:
  • __replace - whether or not the program module will replace an existing member of the same name in the target library.
Note: Set the flag to 1 to turn the bit on or 0 to turn the bit off.

Returned Value

If successful, __iew_saveW() returns 0.

If unsuccessful, __iew_saveW() returns nonzero.

Note: The returned value is the same as the code returned by a subsequent __iew_get_return_code().

Utilities Functions

__iew_get_reason_code()
__iew_get_return_code()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014