cwbCO_GetValidateMode

Purpose

This function gets, for the specified system object, the validate mode currently set.

Syntax

 
UINT CWB_ENTRY cwbCO_GetValidateMode(
                             cwbCO_SysHandle      system,
                             cwbCO_ValidateMode  *mode );

Parameters

cwbCO_SysHandle system - input
Handle returned previously from cwbCO_CreateSystem or cwbCO_CreateSystemLike. It identifies the iSeries™ system.
cwbCO_ValidateMode * mode - output
Returns the validate mode. See comments for cwbCO_SetValidateMode for possible values and their meanings.

Return Codes

The following list shows common return values.

CWB_OK
Successful completion.
CWB_INVALID_API_HANDLE
Invalid system handle.
CWB_INVALID_POINTER
The mode pointer is NULL.

Usage

None.