tcl.create-account Verb: Access/TCL

tcl.create-account

Command tcl.create-account Verb: Access/TCL
Applicable release versions: AP
Category TCL (746)
Description creates a new master dictionary, copies all the necessary items into it, and updates the "mds" file with the name and address.

The "newac" file in the "dm" account contains the items that are placed into a new account md. Additional, application-specific items may be added to newac. For security purposes, items can be removed from newac as well. For example, dangerous verbs such as "delete-file" and "clear-file" could be either removed or renamed to prevent accidental use.

See "master dictionary" for an explanation of the attributes requested in "create-account".

If the account.name is omitted from the command line, the process prompts for it.
Syntax create-account {account.name}
Options
Example
create-account fred


mds,, 'fred' NEW ITEM size = 31
mds,,          fred
type           D
modulo         37
ret-lock
upd-lock
password
syspriv
justification  L
width          12
reallocation


"mds,," is the item-id of the account to create

"type" describes the type of item.  D indicates this is a 
file-defining item.

"Modulo" is the modulo used in creating the file for this account.

"Retrieval codes" and "Update lock codes" are unique locks 
for limiting access to files within the account. See "retrieval locks / 
update locks" for more information.

"Password" is the optional logon password for this account. The 
password will be displayed as a formula conversion in hexadecimal.

"Syspriv" is the user privilege level.  May be "sys0", 
"sys1", or "sys2". See "system privileges" for 
more information.

"Justification" and "width" describe the output 
specifications for the MD.

"Reallocation" describes the reallocation modulo for the MD, if any.  
This value must be enclosed in parentheses.
Purpose
Related tcl.admin.maint
system.privileges
tcl.acct1
tcl.acct2
tcl.acct3
account
file.defining.items
tcl.account-maint
basic.retrieval.locks
filename.newac
tcl.create.account
tcl.caf
tcl.cai