Sort sequence (SRTSEQ)

A drop-down list to specify the sort sequence used when NLSSORT is associated with an alphabet-name in the ALPHABET clause. The values in the Sort sequence list are used in conjunction with the Language identifier value to determine which system-defined or user-defined sort sequence table the program will use. The values in the Sort sequence list are equivalent to the SRTSEQ parameter values of the CRTCBLPGM, CRTCBLMOD, and CRTBNDCBL commands. The sort sequence must be specified if the library field is not blank. You cannot give a library name and choose *CMDDFT for sort sequence.

*CMDDFT
No parameter will be passed to the host and the host defined default will be used.

*HEX
No sort sequence table will be used and the hexadecimal values of the characters will be used to determine the sort sequence. This is the default value.

*JOB
The sort sequence of the program will be resolved and associated with the program at compile time. The sort sequence table must exist in the system at compile time.

*JOBRUN
The sort sequence of the program will be resolved and associated with the program at run time. At compile time, the compiler will associate the sort sequence of the compile job with the program. At run time, this sort sequence will be replaced by the sort sequence associated with the job at run time. This value allows a program to be compiled once and used with different sort sequences at run time.

*LANGIDUNQ
Specifies that the sort sequence table being used must contain a unique weight for each character in the code page. The sort sequence table used will be the unique weighted table identified by the Language identifier value.

*LANGIDSHR
Specifies that the sort sequence table being used can contain the same weight for multiple characters in the code page. The sort sequence table used will be the shared weighted table identified by the Language identifier value.

sort-sequence-name
Enter the name (SBCS characters only) of the sort sequence table to be used. The table contains weights for all characters in a given code page. A weight is associated with the character that is defined at the code point.