NLSS Options

Sort sequence

Select the option you use to determine the sort sequence. The list below describes the possible values for this field:

*HEX
The hexadecimal values of the characters are used to determine the sort sequence.
*JOB
Uses the SRTSEQ value associated with the job when the RPG program is created.
*JOBRUN
Uses the SRTSEQ value associated with the job when the RPG program is run.
*LANGIDUNQ
Uses a unique weighted table. This special value is used in conjunction with the LANGID parameter to select the sort sequence table.
*LANGIDSHR
Uses a shared weighted table. This special value is used in conjunction with the LANGID parameter to select the sort sequence table.
sort-sequence-table-name
Type the name of the sort sequence table (SBCS only).

Default: *HEX

Library

This field contains the library name where the sort sequence table is located. Initially this field is blank. To indicate a library, type a name (up to 10 characters), or click on the down arrow to select one of the following valid choices:

*LIBL
All libraries in the user and system portions of the job's library list are searched.
*CURLIB
The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
library-name
Enter the name (SBCS characters only) of the library in which the sort sequence table is found.

Default: *LIBL

Language ID

Select the option you use to determine the language identifier when the sort sequence is *LANGIDUNQ or *LANGIDSHR. The LANGID parameter is used in conjunction with the SRTSEQ parameter to select the sort sequence table. The list below describes the possible values for this field:

*JOBRUN
Uses the LANGID value associated with the job when the RPG program is run.
*JOB
Uses the LANGID value associated with the job when the RPG program is created.
language-identifier
Type the name of the language identifier (SBCS only).

Default: *JOBRUN