Use the CREATE-ACCOUNT command to create a new account:
>CREATE-ACCOUNT |
You are prompted for the following information, one item at a time:
ACCOUNT NAME? L/RET-CODE(S)? L/UPD-CODE(S)? PRIVILEGES? MODULO? PASSWORD? |
Enter the information as follows:
ACCOUNT NAME |
The name of the account. An account name is required. The name cannot already exist in the SYSTEM Dictionary or the Master Dictionary of the SYSPROG account. It can be any combination of letters, numbers, and some symbols. Spaces, commas, semicolons, quotes, and parentheses are not allowed. Also, control characters should not be used in account names. |
L/RET-CODE(S) |
Retrieval codes. These are an optional list of user-defined lock codes used to prevent unauthorized access to protected accounts and files. When a user who is logged on to the account tries to read a file that is protected by a lock code or that is contained in an account that is protected by a lock code, the codes are compared; if the codes do not match, the user will not be able to read either the protected file or a file in the protected account. You can enter any combination of letters and numbers as a lock code. Multiple codes separated by value marks can be entered. Press ENTER if you do not want to enter a lock code. |
L/UPD-CODE(S) |
Update codes. These are an optional list of user-defined lock codes that work similarly to the retrieval codes just described. They are used to prevent users from making unauthorized changes to protected files or to files in protected accounts. Enter any combination of letters and numbers as a lock code. Multiple codes separated by value marks can be entered. Press ENTER if you do not want to enter a lock code. |
PRIVILEGES |
The system privilege level. Enter one of the four privilege levels: SYS0, SYS1, SYS2, SYS3, or press ENTER to assign no privilege level. If no explicit privilege level is specified, SYS0 privileges are assigned. |
MODULO |
The modulo. This lets you specify the number of groups allocated for the account. If you press ENTER, a modulo of 7 is assigned. A modulo of 7 is normally adequate for most accounts, although accounts used by application packages may need a larger modulo. |
PASSWORD |
The password. You can now enter a password for the account. If you enter a password, it is stored, in encrypted form, in the Account Definition item in the SYSTEM Dictionary. If you do not want to enter a password for the account, press ENTER. The system then asks you to confirm that you do not want to assign a password. Type Y or N at the prompt. |
The new account is created and the following sequence of messages is displayed:
[417] FILE ‘ACCOUNT’ CREATED; BASE = XXXXX,MODULO = Y UPDATING ACCOUNT M/DICT ZZZ ITEMS COPIED CREATING LINK TO GLOBAL LOGON PROC CREATE-ACCOUNT FINISHED |
The next example shows how to set up an account called SALES.
>CREATE-ACCOUNT ACCOUNT NAME?SALES L/RET-CODE(S)?SA]OR]INV]HIST L/UPD-CODE(S)?SA]OR PRIVILEGES?SYS1 MODULO?<ENTER> PASSWORD?SESAME
[417] FILE 'SALES' CREATED; BASE = 25075,MODULO = 7 UPDATING ACCOUNT M/DICT 329 ITEMS COPIED CREATING LINK TO GLOBAL LOGON PROC CREATE-ACCOUNT FINISHED |
See Also