A SERVICE OF

logo

186 Chapter 3
Command Definitions C-E
DISALLOW
NOTE Do NOT confuse operator commands with console commands. For a description
of the difference between console and operator commands refer to the ALLOW
command. The commands which may be disallowed are the same as the
commands which may be allowed. Refer to the ALLOW command for a list of
commands which may be allowed.
Use
This command may be issued from a session, job, program, or in BREAK. Pressing Break
will terminate subsystem mode and produce an error message but has no effect on
commands already entered in subsystem mode. This command may be used only from the
console unless distributed to users with the ALLOW command.
Examples
To prohibit the user USER.TECH from executing the REPLY and ABORTIO commands, enter
the following at the system console:
DISALLOW USER.TECH;COMMANDS=REPLY,ABORTIO
To use subsystem mode to prohibit the user MGR.MANUALS from executing the BREAKJOB
command, enter the following at the system console:
DISALLOW
>MGR.MANUALS;COMMANDS=BREAKJOB
>EXIT
:
To use indirect mode, you create a file with all of the necessary information, and then
invoke the changes by specifying the file using the FILE= parameter of the DISALLOW
command.
EDITOR
HP32201A.07.17 EDIT 3000 TUE, MAY 29, 1987, 5:08 PM
(C) HEWLETT-PACKARD CO. 1985
/ADD
1 SUSAN.PAYROLL;COMMANDS=ALTJOB,ALTSPOOLFILE
2 JOHN.ACCTNG;COMMANDS=ALTSPOOLFILE,DELETESPOOLFILE
3 //
...
/KEEP COMNDTMP
/E
DISALLOW FILE=COMNDTMP;SHOW
If you want MPE/iX to display each command line as it is executed from the file, inclue the
SHOW parameter.
You may backreference the file with a file equation as follows:
FILE BACKF=COMNDTMP
DISALLOW FILE=*BACKF;SHOW
If the file has a lockword it may be inserted as follows:
DISALLOW FILE=COMNDTMP/LOCKWORD;SHOW