CAPS primary command

The CAPS or CAPS ON commands instruct Z Data Tools to convert fields or records to uppercase, when a subsequent data change takes place. The change affects either the field in which the change is entered or the entire record, depending upon the current display format:

  • In CHAR, HEX or LHEX display format, the entire record is translated to uppercase.
  • In SNGL or TABL display format, only the current field is translated to uppercase.

Any CAPS command overrides any previously entered CASE command, and any CASE command overrides any previously entered CAPS command.

Syntax

Read syntax diagramSkip visual syntax diagram
         .-ON--.   
>>-CAPS--+-OFF-+-----------------------------------------------><

ON
Turns the "convert to uppercase" feature on. Equivalent to issuing the CAPS command without parameters or to issuing the CASE UPPER command.
OFF
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 the CASE or CASE MIXED commands.

Availability

Related tasks and examples