The /COMMAND_MODE qualifier can be used to force command-mode.
After entering the /COMMAND_MODE qualifier, you will not need to
use a slash on the command line, but can enter the various
subcommands as verbs.
You can force command-mode syntax, even for single-line DCL
Peek/Spy commands by changing the Peek/Spy foreign command
defintions to include the /COMMAND_MODE qualifier.
Change the DCL definitions of the PEEK and SPY symbols from:
(The _Vx should be replaced with _V5 or _V6 or _V7.)
$ PEEK :== $ PEEK$LOCATION:PEEK_Vx
$ SPY :== $ PEEK$LOCATION:SPY_Vx
to
$ PEEK :== $ PEEK$LOCATION:PEEK_Vx/COMMNAD_MODE
$ SPY :== $ PEEK$LOCATION:SPY_Vx/COMMAND_MODE
Once the PEEK and SPY symbols are so defined, Peek/Spy
subcommands may be used as verbs in single-line DCL commands.
Example:
$ PEEK ALLOW JOE ! Instead of $ PEEK /ALLOW JOE.
$ PEEK WATCH * ! Instead of $ PEEK /WATCH *.
Note that in command mode, the WATCH verb is required.
Wrong in command mode:
$ PEEK JOE ! Not accepted in command mode.
Right in command mode:
$ PEEK WATCH JOE ! WATCH verb is required syntax.