Creates a new account, a remote account, or a synonym account.
Cataloged DataBasic program.
CREATE-ACCOUNT
SYSMAN and SYSPROG accounts only. Only the SYSMAN account allows you to use the PASSWORD command to specify an account password.
When you run CREATE-ACCOUNT from TCL, the following prompt is displayed:
Do you want to create a Local, Remote, or Q-pointered account(L/R/Q) ?
L
to create a local account - the menu shown in Creating a Local Account is displayed.R
to create a remote account definition -
the menu shown in Creating a Remote Account is displayed.Q
to create a synonym (Q-pointer) account -
the menu shown in Creating a Synonym Account is displayed.In each case, the cursor is positioned at the first prompt.
Details of each selection are described under the following topics in this topic:
When you enter L
to create a local account (D-pointer), the following
menu is displayed:
CREATE-ACCOUNT 1. ACCOUNT NAME : 2. RETRIEVAL CODE(S) 3. UPDATE CODE(S) 4. PASSWORD 5. SYSTEM PRIVILEGE LEVEL 6. ACCOUNT FILE UPDATE (Y/N) 7. MODULO,SEPARATION
If your system has the Reality Programming Language (RPL) installed, you will be asked if you want to create an RPL account. If so, the following prompt is also displayed:
8. RPL DEBUG LEVEL
Caution
Do not interrupt the
CREATE-ACCOUNT process by pressing
BREAK. If
you do not want to continue creating the account, enter
END
at an input prompt. Alternatively, press RETURN
repeatedly until you are prompted to enter an asterisk (*) to cancel.
An account name must be unique on the database. The account name entered is used as the item-id for the D-pointer created in SYSTEM.
The format of a valid account name is described in Rules for Account Names.
Enter any retrieval lock codes for this account. Just press RETURN if not required.
If you specify more than one code, separate with value marks (CTRL+]). The first code acts as a lock for the account's Master Dictionary (MD) and for any files defined from the MD, including all dictionaries and their data sections. All of the codes act as retrieval keys for users logged-on to this account, unless their user profile contains any keys, in which case the latter are effective instead.
Enter any update lock codes for this account. Just press RETURN if not required.
If you specify more than one code, separate with value marks (CTRL+]). The first code acts as a lock for the account's MD. However, files defined from the account's MD are not protected against unauthorised update by this lock. Each dictionary and each data section must be individually protected against update via a lock in attribute 6 of its defining D-pointer, unless adequately protected by a retrieval lock at the same or at a higher level. Retrieval locks have the effect of also preventing update by those unauthorised for retrieval.
All codes also act as update keys for users logged-on to this account, unless their user profile contains any keys, in which case the latter are effective instead.
A password can only be specified from the SYSMAN account. If you are creating an account from the SYSPROG account, the cursor skips the password prompt.
The maximum length of a password is 30 characters - use any characters except spaces. It is a good idea to make passwords 6-8 characters long - short enough for you to remember but long enough to prevent an unauthorised user guessing the password.
When you enter the password, the characters are not echoed to the screen. The following message is displayed:
PLEASE RE-ENTER THE NEW PASSWORD TO VERIFY :
Re-enter the password - if it does not match, the cursor is
repositioned at the PASSWORD
prompt and the following message is displayed:
THE PASSWORDS DO NOT VERIFY !
The password is encrypted and only the encrypted form is stored in the account definition item. To change or to specify a password after an account is created, use the PASSWORD command with the A option from the SYSMAN account.
Note that users logging-on to the database who have a passworded user-id and a default account are not prompted for any account password present - this is overridden. However, when attempting LOGTO, any password on the destination account must be entered.
Enter the privilege code for the new account or press RETURN for the default value of SYS0.
Valid privilege codes are SYS0, SYS1, and SYS2, where SYS0 has the fewest privileges and SYS2 the most.
The table below lists several functions and the lowest privilege level required to perform them.
Function | Lowest Privilege Level Required |
---|---|
Use of English commands such as LIST, SORT, SELECT, and SSELECT. | SYS0 |
Updating a Master Dictionary, using CREATE-FILE or
|
SYS1 |
Full use of System Debugger, using Restore Processor commands that use the magnetic tape devices. | SYS2 |
If you want statistics for this account to be collected in
the ACC file, enter Y
. If statistics are not
required, enter N
or press only RETURN. The
default is N.
The modulo is the number of groups allocated to the Master Dictionary for
the new account. The default modulo is 29. The separation is always set to 1 on
Reality. The default values should be accepted by just pressing RETURN,
unless there is a reason for selecting a different modulo (such as the intention
to create large number of MD
If you are creating an RPL account, you will receive the RPL Debug
Level
prompt.
Valid responses are 0, 1, and 2. The default value is 2.
For more information, refer to the RPL Programming Reference Manual.
When you have answered all of the prompts, CREATE-ACCOUNT prompts:
ENTER NUMBER TO CHANGE, * TO CANCEL, RETURN TO CONTINUE :
*
to cancel the creation of a new account.Press RETURN to create the new local account with characteristics as shown. The following information is displayed:
**** CREATE SYSTEM LEVEL FILE 'account-name' 'account-name' **** COPY NEWAC ITEMS TO SYSTEM LEVEL FILE ~733 items copied.~ **** ACCOUNT 'account-name' CREATED.
To create a new local account, the system:
Puts the following into the account definition item:
When you enter R
to create a remote account (R-pointer), the following
menu is displayed:
CREATE-ACCOUNT 1. ACCOUNT NAME : 2. REMOTE SYSTEM NAME 3. REMOTE SYSTEM ACCOUNT 4. PASSWORD
Caution
Do not interrupt the
CREATE-ACCOUNT process by pressing
BREAK. If
you do not want to continue creating the account, enter END
at a colon prompt. Alternatively, press RETURN
repeatedly until you are prompted to enter an asterisk (*) to cancel.
A remote account name must be unique on the database, but can have the same name as the system or account that the remote account definition references. The account name entered is used as the item-id for the R-pointer created in SYSTEM.
See Rules for Account Names for the format of a valid account name.
Enter the name of the remote database or proprietary REALITY system; this must be the name of a
Enter the name of the required account on the remote database or proprietary REALITY system. If you do not enter an account name (press just RETURN) it will be prompted for if required when attempting to logon to the remote system. An R-pointer that does not specify an account on the remote system cannot be used for remote file access or program-to-program communication.
A password can only be specified from the SYSMAN account. If you are creating an account from SYSPROG, the cursor skips the password prompt. See Creating a Local Account for more information about passwords.
When you have answered all of the prompts, CREATE-ACCOUNT prompts:
ENTER NUMBER TO CHANGE, * TO CANCEL, RETURN TO CONTINUE :
You can then:
*
to cancel creation of the remote account.**** ACCOUNT 'account-name' CREATED.
To create a remote account, the system:
Puts the following into the remote account definition item:
When you enter Q
to create a synonym account (Q-pointer), the following
is displayed:
CREATE-ACCOUNT 1. ACCOUNT NAME : 2. RETRIEVAL CODE(S) 3. UPDATE CODE(S) 4. PASSWORD 5. SYSTEM PRIVILEGE LEVEL 6. ACCOUNT FILE UPDATE (Y/N) 7. ACTUAL ACCOUNT NAME
Caution
Do not interrupt the
CREATE-ACCOUNT process by pressing
BREAK. If
you do not want to continue creating the account, enter END
at a colon prompt. Alternatively, press RETURN
repeatedly until you are prompted to enter an asterisk (*
) to cancel.
The account name entered is used as the item-id for the Q-pointer created in SYSTEM.
See Rules for Account Names for the format of a valid account name.
Enter any retrieval lock codes for this synonym account. These function similarly to retrieval lock codes set on a local (D-pointer) account for users gaining access via this synonym.
Enter any update codes for this synonym account. These codes do not function as locks on the account. They are used as keys unless the user profile contains any retrieval or update keys, in which case they are ignored.
A password can only be specified from the SYSMAN account. If you are creating an account from the SYSPROG account, the cursor skips the password prompt. See Creating a Local Account for more information on passwords.
Enter the privilege code for the new account or press RETURN for the default value of SYS0. Valid privilege codes are SYS0, SYS1, and SYS2, where SYS0 has the fewest privileges and SYS2 the most. The table in Creating a Local Account lists some functions and the privilege level required to perform them.
If you want statistics for this
account to be collected in the ACC file, enter Y
. If statistics are not
required, enter N
press only RETURN. The
default is N.
This is the name of the local (D-pointer) account that the account synonym (Q-pointer) you are creating will point to.
When you have answered all of the prompts, CREATE-ACCOUNT prompts:
ENTER NUMBER TO CHANGE, * TO CANCEL, RETURN TO CONTINUE :
You can then:
*
to cancel creation of the synonym account.**** ACCOUNT 'account-name' CREATED.
To create a synonym (Q-pointer) account, the system:
Puts the following into the synonym account definition item: