Verify Name (QCAVFYNM, QcaVerifyName) API


  Required Parameter Group:


  Service Program: QCAVFYNMS

  Default Public Authority: *USE

  Threadsafe: Yes

The Verify Name (QCAVFYNM, QcaVerifyName) API verifies an input value to determine if it is a valid system name. A CPF019D message is sent for an invalid name.

The Verify Name API lets you control how the name is verified based on the name type specified.

Authorities and Locks

None.


Required Parameter Group

Name information
INPUT; CHAR(*)

The information related to the name string. The format of this information depends on the specified Format name.

Format of name information
INPUT; CHAR(8)

The format of the name information specified. You must use the following Format name:



Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


VFYN0100 Format

The following table describes the information that is required in the VFYN0100 format. For detailed descriptions of the fields, see Field Descriptions.



Field Descriptions

Coded character set ID (CCSID). The value of the coded character set ID (CCSID) associated with the name string to be verified. A CCSID value of zero indicates that the default CCSID in effect for the job should be used.

Length of fixed data. The length of the fixed data with specific constant value 28.

Length of name. The length of the name field. The maximum value allowed is 256 bytes.

Monocase indicator. The indicator to monocase the Name. The values allowed are:

Name. The character string to be verified as a valid or invalid name.

Name type. The name types allowed are:

Offset to name. The offset to the name to be verified.

Reserved. Must be set to hexadecimal zeros.



Error Messages




API introduced: V6R1

Top | Program and CL Command APIs | APIs by category