The default mode of operation for MAKEUSER is update; all incoming data is applied to the current USERDATAFILE. Add users to the file as in the following example:
+ USER TUFF MAXPW = 1 PASSWORD = STUFF
This example creates usercode TUFF with password STUFF and MAXPW = 1; the values of all other attributes are zero, FALSE, or absent by default.
Delete users as in the following example:
- USER TRAFALGAR
This example deletes usercode TRAFALGAR. The entry is marked as deleted and removed from the index but left in the file.
Modify users as in the following example:
USER TUFF PASSWORD = NEWSTUFF USER KARTUSCH USERCLASS = 5 PU USER TGF FAMILY DISK = PACK ONLY
This example changes the password of user TUFF to NEWSTUFF; the previous password assignment is destroyed. Usercode KARTUSCH is marked privileged (PU), and the value of USERCLASS is set to 5. The last statement establishes family substitution for usercode TGF.
If the value of the $ADD option is TRUE, unsigned USER segments and REMOTEUSER segments are additions rather than modifications. See User Segments in this section and Identifying Users from Remote Hosts for more information.
The following pages describe MAKEUSER control statements.
Control Statement |
Function |
---|---|
ACCESS |
Causes user entries that satisfy the specified criteria to be passed to a specified library object. |
CREATE |
Causes a new USERDATAFILE to be generated from the USER segments and REMOTEUSER segments given to MAKEUSER. |
COPY |
Causes the USERDATAFILE to be copied, or generates a new USERDATAFILE based on the current USERDATAFILE. |
RECALL |
Reinstates a *SYSTEM/USERDATAFILE saved under another name. |
END |
Terminates a MAKEUSER run. |
QUIT |
Terminates a MAKEUSER run. |
BYE |
Terminates a MAKEUSER run. |