PURPOSE: The SEQUENCE LOWER option controls whether ACCENT R distinguishes lower from upper case characters. This command is valid in a CM, PM, SF and as a direct command.
{ENABLE; DISABLE} SEQUENCE LOWER [{IF; UNLESS} clause]
ENABLE |
directs ACCENT R to view upper case characters as different from lower case characters. This option causes a true ASCII sort or index, in which all upper case characters precede all lower case characters. It also affects all string comparisons. |
DISABLE |
directs ACCENT R not to distinguish between lower and upper case characters. This is the default state. |
{IF; UNLESS} clause |
specifies certain criteria that must be met for the ENABLE or DISABLE command to take effect. |
*SORT ON FIRST SHOW FIRST 1b 1B A1 a2 AB Ab
*EXTRACT IF FIRST BEGINS WITH "A" A1 a2 AB Ab
*ENABLE SEQUENCE LOWER
*SORT ON FIRST SHOW FIRST 1B 1b A1 AB Ab a2
*EXTRACT IF FIRST BEGINS WITH "A" A1 AB Ab
NOTES: A Data Index (DI) must be used with SEQUENCE LOWER in the same state as when the DI was formed; i.e., if SEQUENCE LOWER is enabled when a DI is formed, it must also be enabled when the DI is used.