Master dictionary

The table below describes the attributes for the Master Dictionary.

# Attribute Description
0 item-ID Name of the file being defined.
1           dictionary-code           Defines the type of dictionary item. For a master dictionary file-defining item, this must be a d. The create-file process automatically inserts the d. Optional additional codes are:
l Log any updates to the transaction logger. This option is not compatible with x or y options.
p Primary file space contains only pointer items, regardless of the number of bytes in the item.
s Item-IDs are case sensitive. The s code must be specified when the file is created; it cannot be added or deleted later. This option is compatible with all options.
x Do not save on file-save tapes. The file does not exist after a file restore. Known as a DXed file. This option is not compatible with the y option.
y Do not save the data in this file on file-save tapes. On a file restore, recreate the file in an empty state. Known as a DYed file. This option is not compatible with the x option.
2 base Contains the disk address of where the file begins (base FID). The create-file process automatically inserts this address; it must not be altered.
3 modulo The number of contiguous frames in primary file space. The create-file process automatically inserts 37. This field should not be altered. To resize a file, see attribute 13 (reallocation) below.
4 structure Not Used.
5 retrieval-lock Controls access to the file for retrieval (reading). At least one of the lock codes must match at least one of the users,user-ID file, attribute 6 (keys), before access is granted. This attribute may be MultiValued for multiple access codes.
6 update-lock Controls access to the file for updating (writing). At least one of the lock codes must match at least one of the user's key codes, found in the user-ID file attribute 6 (keys), before access is granted. This attribute may be MultiValued for multiple access codes.
7 password Contains the password required to grant access to (log to) this master dictionary (account). The password displays in encrypted form. There is no way to decrypt the password.
8 correlative The processing codes that modify the data before it is sorted or selected. These codes are executed regardless of whether there is a value in the attribute when the item is filed (written), regardless of whether the item is updated using FlashBASIC or Update Processor.
9                       attribute-type                       Data output formatting codes can be one of the following:
l Left align/attribute 10 limits/no break—Data is left aligned, presented in a column width specified by attribute 10. If the data width exceeds the column width, wrap the data in successive rows.
.........................
now is the time
.........................
now is the time for all g
ood men to come to me
lx Left align/expand column/word break—Data is left aligned. Disregard the attribute 10 column width and make a new column width based on the available space remaining in the display (specified by the term width), dividing it evenly between the other x output displays. If the data width exceeds the column width, wrap the data in successive rows, initiating the wrap at the space character.
.........................
now is the time
.........................
now is the time for all good men to come to me
n Right align/ignore attribute 10/no break—(Numeric specification–obsolete) Data is right aligned. Ignore the attribute 10 column width and overwrite the adjacent columns, if necessary. Data is truncated only when it hits the term width limit. Data does not wrap in successive rows.
                           ...................
                               now is the time
                        ......................
now is the time for all good men to come to me
r Right align/ignore attribute 10/no break—Data is right aligned. Ignore the attribute 10 column width and overwrite the adjacent columns if necessary. Data is truncated only when it hits the term width limit. Data does not wrap in successive rows.
                           ...................
                               now is the time
                        ......................
now is the time for all good men to come to me
rx Right align/expand and ignore column/no break—Data is right aligned. Disregard the attribute 10 column width and make a new column width based on the available space remaining in the display (specified by the term width), dividing it evenly between the other x output displays. Ignore the new column width anyway, and overwrite the adjacent columns if necessary. Data is truncated only when it hits the term width limit. Data does not wrap in successive rows.
                           ...................
                               now is the time
                        ......................
now is the time for all good men to come to me
t Left align/attribute 10/word break—(Text specification) Data is left aligned, presented in a column width specified by attribute 10. If the data width exceeds the column width, wrap the data in successive rows, initiating the wrap at the space character.
.........................
now is the time
.........................
now is the time for all
good men to come to me
tx Left align/expand column/word break—(Same as lx) Data is left aligned. Disregard the attribute 10 column width and make a new column width based on the available space remaining in the display (specified by the term width), dividing it evenly between the other x output displays. If the data width exceeds the column width, wrap the data in successive rows, initiating the wrap at the space character.
.........................
now is the time
.........................
now is the time for all good men to come to me
u Left align/ignore attribute 10/no break—Data is left aligned. Ignore the attribute 10 column width and overwrite the adjacent columns if necessary. Data is truncated only when it hits the term width limit. Data does not wrap in successive rows. If the text is wider than the display column width, cascade data into the adjacent column to the right.
.........................
now is the time
.........................
now is the time for all good men to come to me
ux Left align/expand and ignore column/no break—Data is left aligned. Disregard the attribute 10 column width and make a new column width based on the available space remaining in the display (specified by the term width), dividing it evenly between the other x output displays. Ignore the new column width anyway, and overwrite the adjacent columns if necessary. Data is truncated only when it hits the term width limit. Data does not wrap in successive rows.
.........................
now is the time
.........................
now is the time for all good men to come to me
w

Output processor is attribute or noncolumnar. Process this attribute through the Output processor before displaying. Any valid Output processor dot (.) command can follow this code. Dot commands following the w are prefixed to the attribute. The attribute itself may contain embedded Output processor dot commands. A second value here can contain dot commands to be performed after the attribute is output.

The Output processor .char command is used to output unprintable characters and D3 segment, value, MultiValue, and subvalue marks. For example, w.c.bf centers text and makes it boldface (].xbf turns off the boldface after it outputs the attribute). This code only works for noncolumnar formats. It reverts to code l for columnar reports.

ww

Output processor all attributes to end of item or noncolumnar. Process all attributes from the current attribute through the end of the item through Output processor before displaying. Any valid Output processor dot command may follow this code. Dot commands following the w are prefixed to the attribute. The following attributes themselves may contain embedded Output processor dot commands. A second value here may contain dot commands to be performed after the attributes are output.

As an example, w.c.bf centers text and makes it boldface. w.c.bf].xbf.skip2 centers the first line of text, turns on boldface, prints the text. At the end of the text, turns off boldface and prints two blank lines. This code only works for noncolumnar formats. It reverts to code l for columnar reports. If the justification code is unrecognizable, it defaults to the l code.

10 column-width Defines the number of characters that are to be displayed on one line. If the number of characters in the substitute heading (attribute-defining item attribute 3) exceeds the column width, the column width is expanded to the heading size. If the number of characters in the heading is less than the column width, the heading is padded with periods to fill the column width. If the attribute data is wider than this, then it displays according to the justification directions (attribute 9).
11-12 (Reserved)
13 reallocation This is used to specify a new modulo when resizing a file. This modulo is used during the file-restore process to change the size of the file's primary file space. To specify a new modulo, enter the modulo enclosed in parentheses. To specify that this modulo not be changed, enter a period.
14 input-conversion Processing codes applied at data entry time. Processing codes can be used to validate data entry, as well as transform data before storing it.
15 macro This attribute can contain any number of the attribute names used as default data entry specifications. These attributes are listed when the Update Processor is invoked to edit/update an item in this file. Multiple attribute names are separated by spaces. The attribute names are listed in one value, separated by spaces. Which values of attribute 15 to use can be specified by assigning to FlashBASIC function access(18) (from 1 to max_value #) in a FlashBASIC program called before displaying the item (input conversion).
16 output-macro This contains a list of the attribute names to be used as default output specifications in an AQL report. If this attribute has no value, the system uses the attribute list in the macro attribute. These attributes are listed automatically when any TCL or AQL command that takes output specifications is invoked and no output specifications are included in the command. Attribute names in the list are separated by spaces. If an attribute name does not exist in the dictionary, it is ignored. Output specifications listed in the macro attribute override the default attributes defined as a1, a2, a3, and so on.
17 description Contains a description of this attribute use. When using Update Processor, typing ? and pressing ENTER displays this field as online help. It is usually the application programmer who enters information into this attribute.
18 (Reserved)
19 hotkey.all Global hotkey subroutine call. Pressing any hotkey calls the subroutines placed in this attribute first, calls the subroutines placed in the specific hotkey attribute, and then returns. A subroutine can be a macro, proc, or cataloged FlashBASIC program.
20 hotkey.1 Hotkey ^X1 (CTRL+X 1) subroutine call. Pressing ^X1 calls the subroutines placed in this attribute. A subroutine may be a macro, proc, or cataloged FlashBASIC program.
21 hotkey.2 Hotkey ^X2 (CTRL+X 2) subroutine call. Pressing ^X2 calls the subroutines placed in this attribute. A subroutine may be a macro, proc, or cataloged FlashBASIC program.
22 hotkey.3 Hotkey ^X3 (CTRL+X 3) subroutine call. Pressing ^X3 calls the subroutines placed in this attribute. A subroutine may be a macro, proc, or cataloged FlashBASIC program.
23 hotkey.4 Hotkey ^X4 (CTRL+X 4) subroutine call. Pressing ^X4 calls the subroutines placed in this attribute. A subroutine may be a macro, proc, or cataloged FlashBASIC program.
24 hotkey.5 Hotkey ^X5 (CTRL+X 5) subroutine call. Pressing ^X5 calls the subroutines placed in this attribute. A subroutine may be a macro, proc, or cataloged FlashBASIC program.
25 hotkey.6 Hotkey ^X6 (CTRL+X 6) subroutine call. Pressing ^X6 calls the subroutines placed in this attribute. A subroutine may be a macro, proc, or cataloged FlashBASIC program.
26 hotkey.7 Hotkey ^X7 (CTRL+X 7) subroutine call. Pressing ^X7 calls the subroutines placed in this attribute. A subroutine may be a macro, proc, or cataloged FlashBASIC program.
27 hotkey.8 Hotkey ^X8 (CTRL+X 8) subroutine call. Pressing ^X8 calls the subroutines placed in this attribute. A subroutine may be a macro, proc, or cataloged FlashBASIC program.
28 hotkey.9 Hotkey ^X9 (CTRL+X 9) subroutine call. Pressing ^X9 calls the subroutines placed in this attribute. A subroutine may be a macro, proc, or cataloged FlashBASIC program.
29 hotkey.0 Hotkey ^X0 (CTRL+X 0) subroutine call. Pressing ^X0 calls the subroutines placed in this attribute. A subroutine may be a macro, proc, or cataloged FlashBASIC program.