MPE/iX Commands Reference Manual (32650-90877)
Chapter 3 67
Command List I
Commands ABORT to BYE
To add a new ACD to file PROGNAME allowing all users on the system to execute it, but only
users in account ACCT to write to it enter:
ALTSEC PROGNAME;NEWACD=(X:@.@;W,X:@.ACCT)
To add a new ACD pair to an ACD which already exists for file PROGNAME which will allow
the user ENGR of the LAB account to read, write, lock, append, execute and read the ACD
information enter:
ALTSEC PROGNAME;ADDPAIR=(R,W,X,RACD:ENGR.LAB)
Note that L and A (lock and append) need not be specified because they are implied with W
(write).
To add an ACD that prevents any user except OPERATOR.SYS (and any user with SM
capability) from accessing LDEV 7 (a tape drive), enter:
ALTSEC 7,LDEV;NEWACD=(R,W:OPERATOR.SYS)
Note in the last example that X is not used because it makes no sense to
execute
a tape
drive. It also makes no sense to
lock
or
append
a tape drive but W tacitly provides L and A
anyway.
To eliminate any ACD that may be in effect for device class LP, and to prevent any user
except
MGR.FINANCE
from writing to a printer in device class LP, enter:
ALTSEC LP,DEVCLASS;DELACD
ALTSEC LP,DEVCLASS;NEWACD=(W:MGR.FINANCE)
Related Information
Commands LISTF, LISTFILE, RELEASE, SECURE, SHOWDEV, and the
fileaccess
parameter for the ALTACCT, ALTGROUP, NEWACCT and NEWGROUP commands.
Manuals None
ALTSPOOLFILE
Alters the characteristics of an output spoolfile.
Syntax
ALTSPOOLFILE{
#Onnn ldev1
} { ;PRI=
outputpriority
;COPIES=
numcopies
;DEV={
ldev2 devclass
} ;DEFER } [ ;...]
Parameters
#Onnn The output device file identification of a spoolfile.
ldev1 The logical device number of the device where an ACTIVE spoolfile
currently resides.
outputpriority The output priority of the designated device file (0 = lowest; 14 = highest).
numcopies The number of copies to be produced from the designated device file. Range
is 1 through 127; default is 1.
ldev2 or devclass The logical device number or device class name of the spoolfile's
destination device. If ACTIVE, the file is returned to the READY state. It