Scan String for Mixed Data (QLGSCNMX) API


  Required Parameter Group:


  Default Public Authority: *EXCLUDE

  Threadsafe: No

The Scan String for Mixed Data (QLGSCNMX) API tests a mixed EBCDIC input string to determine if the data contains any double-byte characters. If so, the double-byte indicator will be set to 1.

The QLGSCNMX API determines that a mixed EBCDIC input string contains double-byte characters when the shift-out (X'0E') control character is present.


Authorities and Locks

None.


Required Parameter Group

Double-byte indicator
OUTPUT; CHAR(1)

Information about the input data. The valid values are:


Input data buffer
INPUT; CHAR(*)

The data to be scanned.

Length of input data buffer
INPUT; BINARY(4)

The length of the input data buffer. The valid range is 1 to 32767 bytes.

Error code
I/O; CHAR(*)

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


Error Messages



API introduced: V2R3

[ Back to top | National Language Support APIs | APIs by category ]