| Contents: | Main | Chapter | See Also: | Getting Started Manual | Advanced User Manual | |||
Each entry in the attribute dictionary is a descriptor of one of the data fields in the file. VA FileMan always assigns the internal number .01 to the NAME field and lets you assign numbers to the other fields. The attribute dictionary stores the definition of each field descendent from the node ^DD(filenumber,fieldnumber). Crucial information about the field is stored in:
Figure 374: Attribute Dictionary—Field Definition 0-Node: ^DD(filenumber,fieldnumber Node
^DD(filenumber,fieldnumber,0)
Every field has this 0-node defined in the attribute dictionary.
In the example, the (fictitious) EMPLOYEE file has four fields in addition to the NAME field:
SKILL is Multiple-valued. Suppose that the attribute dictionary for this file is stored in:
Figure 375: Attribute Dictionary—Field Definition 0-Node: Sample Attribute Dictionary File Storage
^DD(3)
Piece 1: The field's label is always found as the first ^-piece in subscript Zero. Thus, for the example, you would have:
Figure 376: Attribute Dictionary—Field Definition 0-Node: Piece 1 Sample Labels
^DD(3,.01,0)="NAME^"
^DD(3,1,0)="SEX^"
^DD(3,2,0)="DOB^"
^DD(3,3,0)="DEPARTMENT^"
^DD(3,4,0)="SKILL^"
Piece 2: A string containing any of the letters and symbols in Table 114:
Table 114: Attribute Dictionary—Field Definition 0-Node: Piece 2 Sample Strings
| Character | Meaning |
|---|---|
| a | The field has been marked for auditing all the time. |
| e | The auditing is only on edit or delete. |
| A | For Multiples, a user entering a new subentry is not Asked for verification. |
| BC | The data is BOOLEAN COMPUTED (true or false). |
| C | The data is COMPUTED. |
| Cm | The data is multiline COMPUTED. |
| D | The data is Date-valued. |
| DC | The data is Date-valued, COMPUTED. |
| F | The data is FREE TEXT. |
| I | The data is uneditable. |
| Jn | To specify a print length of n characters. |
| Jn,d | To specify printing n characters with decimals. |
| K | The data is M code. |
| M | For Multiples, after selecting or adding a subentry, the user is asked for another subentry. |
| N | The data is NUMERIC-valued. |
| O | The field has an OUTPUT transform. |
| Pn | The data is a POINTER reference to file "n". |
| Pn' | LAYGO to the Pointed-to file is not (`) allowed. |
| R | Entry of data is Required. |
| S | The data is from a discrete SET OF CODES. |
| V | The data is a VARIABLE POINTER. |
| W | The data is WORD-PROCESSING. |
| WL | The WORD-PROCESSING data is normally printed in Line mode (i.e., without word wrap). |
| X |
Editing is not allowed under the Modify File Attributes [DIMODIFY] option, because the INPUT transform has been modified by the Input Transform (Syntax) [DIITRAN] option on the Utility Functions [DIUTILITY] menu. To make a field uneditable, you need the X (uppercase) flag in the 2nd piece of the Zero node. For example: ^DD(200,501.2,0) = SUBJECT ALTERNATIVE
NAME^FaX^^501;2^K:$L(X)>50!($L(X)<3
= )!'(X["@") X I $D(X) N XUSSAN S
XUSSAN=$O(^VA(200,"ASAN
= ",X,"")) K:(XUSSAN>0)&(XUSSAN'=DA) X
|
| x | WORD-PROCESSING text that contains the vertical bar (|) is displayed exactly as they are stored, (i.e., no window processing takes place). |
| * | If there is a screen associated with a DATA TYPE field with values of POINTER or SET OF CODES. |
NOTE: The second ^-piece begins with the subfile number if the field is a Multiple.
Piece 3: Only contains data for DATA TYPE fields with values of POINTER and SET OF CODES. In those cases, the data is:
Table 115: Attribute Dictionary—Field Definition 0-Node: Piece 3 Data Types
| Data Type | Description |
|---|---|
| POINTER | The global root of the pointed-to file. |
| SET OF CODES | The set of codes of allowed responses and their meanings. |
Piece 4: One of the following, based on the kind of data storage:
Piece 5: M code to check an input in the variable X. If the input is invalid, the variable X is KILLed by the code. This is the field's INPUT transform. In the case of a COMPUTED field, the code creating the variable X is stored here. (Pieces following the fifth piece are part of this M code.)
Reviewed/Updated: May 2026