Convert Sort Sequence Table (QLGCNVSS) API


  Required Parameter Group:

1 Converted sort sequence table Output Char(256)
2 Type of returned sort sequence table Output Char(1)
3 Substitution values encountered Output Char(1)
4 Source sort sequence table Input Char(256)
5 CCSID of source table Input Binary(4)
6 CCSID of converted table Input Binary(4)
7 Error code I/O Char(*)

  Default Public Authority: *EXCLUDE

  Threadsafe: No

The Convert Sort Sequence Table (QLGCNVSS) API converts a 256-byte sort sequence table from one coded character set identifier (CCSID) encoding to another.


Authorities and Locks

None.


Required Parameter Group

Converted sort sequence table
OUTPUT; CHAR(256)

The converted sort sequence table.

Type of returned sort sequence table
OUTPUT; CHAR(1)

The type of sort sequence table returned. Possible values are:

1 A shared-weight table.
2 A unique-weight table.

Substitution values encountered
OUTPUT; CHAR(1)

Whether substitution values were involved during the conversion from the source CCSID of the table to the requested CCSID. Possible values are:

0 No substitutions were involved.
1 Substitutions were involved.

Source sort sequence table
INPUT; CHAR(256)

The source sort sequence table to be converted.

CCSID of source table
INPUT; BINARY(4)

The CCSID of the source table. The valid range is 1 to 65533 and 65535.

CCSID of converted table
INPUT; BINARY(4)

The CCSID to which the source table is to be converted. The valid range is 1 to 65533 and 65535.

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

Message ID Error Message Text
CPF24B4 E Severe error while addressing parameter list.
CPF3BC7 E CCSID &1 outside of valid range.
CPF3BC8 E Conversion from CCSID &1 to CCSID &2 is not supported.
CPF3BC9 E Conversion from CCSID &1 to CCSID &2 is not defined.
CPF3C90 E Literal value cannot be changed.
CPF3CF1 E Error code parameter not valid.
CPF3CF2 E Error(s) occurred during running of &1 API.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.


API introduced: V2R3

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