HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 2 31
Command Definitions A-B
Native Mode Command Structure
Combining Positional/Keyword Parameters
Another option is to enter NM-parsed commands by using a combination of positional and
keyword specifications, for example:
COMMAND A,B;KEYWORD3=C
There is one important rule to remember when you combine positional and keyword
parameters: once you specify a keyword parameter, you may no use positional parameters.
For example, entering the following command would produce an error:
COMMAND A;KEYWORD2=B,C
An exception to the rule is that you may specify positional parameters that are
subparameters of a keyword parameter. For example, in the BUILD command shown below,
REC is a keyword but the next four parameters (which define records as being 80 bytes
long, blocked at 1 and in Fixed ASCII format) are positional. This syntax is acceptable
because they are subparameters of the key word REC.
BUILD filename;REC=-80,1,F,ASCII
The following example shows the correct way to combine positional and keyword
parameters where the keyword has no subparameters:
COMMAND A;KEYWORD2=B;KEYWORD3=C
Entering Numbers in Commands
You may enter numbers as parameters to NM-parsed commands as follows:
With or without leading zeros.
As positive or negative numbers.
Preceded by the $ sign indicating hexadecimal or base 16.
Precdeded by the % sign indicating octal or base 8.
Preceded by the # sign indicating decimal or base 10 (if neither $, % nor # is specified
base 10 is used).
In the decimal range -2,147,483,648 to 2,147,483,647.
For example, suppose you wanted to suspend spooling on LDEV 6, your system printer. You
could enter :
SPOOLER DEV=#0006;SUSPEND;SHOW