Sort Sequence

Sort sequence is used for this user’s output. You can use system-provided sort tables or create your own. A sort table can be associated with a particular language identifier on the system.

Add User prompt:
Not shown
CL parameter:
SRTSEQ
Length:
10 (value or table name) 10 (library name)
Authority:
*USE for table *EXECUTE for library
Table 1. Possible values for SRTSEQ:
*SYSVAL The QSRTSEQ system value is used.
*HEX The standard hexadecimal sort sequence is used for this user.
*LANGIDSHR The sort sequence table associated with the user’s language identifier is used. The table can contain the same weight for multiple characters.
*LANGIDUNQ The sort sequence table associated with the user’s language identifier is used. The table must contain a unique weight for each character in the code page.
table-name Specify the name of the sort sequence table for this user.
Table 2. Possible values for SRTSEQ Library:
*LIBL The library list is used to locate the table specified for the SRTSEQ value.
*CURLIB The current library for the job is used to locate the table specified for the SRTSEQ value. If no current library entry exists in the library list, QGPL is used.
library- name Specify the library where the sort sequence table is located.