Spooler Command Input Conventions

Spooler commands are normally entered free-form. There are input conventions that must be followed, however, when this format is changed.

When commands are entered, the options, either individually or as a group, may or may not be enclosed in parentheses. Often only a single left parenthesis is required. In the examples below, A, B, and C represent Spooler options.

>COMMAND ABC

>COMMAND (ABC)

>COMMAND AB(C

>COMMAND (A) B (C)

>COMMAND (ABC

>COMMAND A,B,C

If a number is placed in an option string containing parentheses, then either the number must precede the parenthesis or all of the options must be in parentheses. If parentheses are not used, the options can be in any order.

>COMMAND A B 3 C

>COMMAND 3ABC

>COMMAND 3 A (BC

>COMMAND (3ABC

If a pair of numbers are used to create a range, they must have the exact form n-m. If the pair is entered in any other form, the Spooler will ignore the first number and retain the last number as a single parameter.

>COMMAND ABC 2-3

>COMMAND 2-3 (ABC

>COMMAND (ABC2-3

If more than one number, or more than one pair of numbers, is entered in the same option string, only the last number or pair of numbers entered will be retained.

>COMMAND 2 ABC 3

implies>

COMMAND 3 ABC

>COMMAND 2-3 ABC 6

implies>

COMMAND 6 ABC

>COMMAND 2-3 ABC 4-5

implies>

COMMAND 4-5 ABC

When the account-name parameter is used in an option string, it must be surrounded by single or double quotes.

When the account-name parameter is used with other options and parentheses are used, 'account-name' must precede all other options, and the other options must be in parentheses. If parentheses are not used, the options, including account-name, can be in any order. Only one account-name parameter is accepted in an option string.

>COMMAND ABC 3 'ACCOUNT-NAME'

>COMMAND 'ACCOUNT-NAME' (ABC2-3)

>COMMAND 'ACCOUNT-NAME' (ABC 2-3

See Also

Summary of Printer and Spooler Commands

Printer and Spooler Command Summary