Options for Commands

Options are letters enclosed in parentheses which modify the action of the command. When the options are at the end of the sentence which is the standard syntax, unless the EMBEDDED.OPTION is used, the closing parenthesis can be omitted. Options for commands should not be confused with options for modifiers and connectives such as HEADING and BREAK-ON.

English command options are described as either standard or special. Standard means that if a command responds to the option, it responds as described below. Special means that only particular commands respond to it. Special options are described with relevant command descriptions in English Commands.

Standard Options

C Suppress column headings, page and date line at the start and summary line at the end of a report. Equivalent to the COL-HDR-SUPP modifier.

D Suppress detail output. Equivalent to the DET-SUPP modifier.

H Suppress page and date line at the start and summary line at the end of the report. Equivalent to the HDR-SUPP modifier.

I Suppress item-ids. Equivalent to the ID-SUPP modifier.

N Suppress automatic paging. Equivalent to the NOPAGE modifier.

P Output report to the printer. Equivalent to the LPTR modifier.

R Suppress 'Item not on file' messages.

Rules for Command Options

Command options must be preceded by an opening parenthesis and must be followed by a closing parenthesis if followed by any character other than return. Options can be separated by commas but not by spaces. An option not used by a particular command is ignored. A command option remains in effect until the current sentence, including macros, has been processed.

Example

The following sentence uses standard options I and P:

:LIST ROOMS (IP)

The output of item-ids is suppressed and output is sent to the assigned printer.

Go to top button