CASE primary command

The CASE command determines whether, when a subsequent data change takes place, fields or records are translated to uppercase (CASE UPPER), or they are left unchanged (CASE MIXED).

Syntax

Read syntax diagramSkip visual syntax diagram
         .-MIXED-.   
>>-CASE--+-UPPER-+---------------------------------------------><

UPPER
Translates all new records from lowercase to uppercase, and translates all data in changed records from lowercase to uppercase, regardless of how the records are changed. When the data is displayed in CHAR, HEX, or LHEX mode CASE UPPER affects all changed records, including records displayed on the screen which were changed before the CASE UPPER command is entered.
MIXED
Turns the "convert to uppercase" feature off, so that subsequent changes to data do not cause the record or field to be translated to uppercase. Equivalent to issuing the CASE command without a parameter or to issuing the CAPS OFF command.

Availability

Related tasks and examples