| create-abs | Index Level | create-account (R83) |
| Syntax | create-account {account.name} |
| Category | TCL |
| Type | Verb |
| 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. |
| Options | |
| See Also | admin.maint system privileges acct1 acct2 acct3 account file-defining item account-maint retrieval locks / update locks newac create.account caf cai |
| 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. |
| Warnings | |
| Compatibility | D3 7.0 AP |
| create-abs | Index Level | create-account (R83) |