Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.2 Online Documentation (MoTW) Revision 3

Customising the Master Dictionary (TCL) (m604806+customisingmd.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Customising the Master Dictionary

Note: You must have at least SYS1 privileges to update a Master Dictionary.

When you create an account, Reality copies the appropriate command definition items to the account's MD, automatically. However, you can if you wish customise the vocabulary available in your account. This can be done in a number of ways. For example, you can:

In this way, you can tailor the vocabulary of your account without affecting users of other accounts.

Caution

Deleting command definition items must be done with care. If you delete a command that is used by a cataloged DataBasic program or by a Proc, the referencing command will not operate correctly.

Command Synonym Definition Items

You can create synonyms for standard commands by creating command synonym definition items. The item-id can be any name not in the MD. The first attribute must contain the letter V; the second attribute must contain the item-id of the referenced command. An example of a synonym for the SORT command might be:

    ORDER
001 V
002 SORT

Creating a command synonym definition item means that if the command definition item changes in a future release, your synonym will not have to change.

Adding Commands

When adding new DataBasic and Proc commands, it is best to create your own special files to contain the programs and Procs. When you catalog a DataBasic program, Reality creates an item in the MD that points to the executable program in a file. For details see the DataBasic Reference.

For a Proc, you create an item in your MD with a transfer instruction in attribute 2 that branches to the new Proc you created in your file. See the Proc Reference for details.

To create commands that execute host system commands, refer to the description of the SYS command.

RealityV15.2Revision 3Comment on this topic