The item-ID of the attribute-defining item is the attribute name. The next value of an attribute-defining item is a number n which refers to the nth attribute in the item. For example, an attribute count of 5 refers to the fifth attribute in the data item.
There can be several attribute-defining items that refer to the same attribute in a data item. For example, perhaps the attribute should be sorted as a right-aligned entry, but printed left aligned. In one case the attribute should be displayed in dollars and cents, and in another case, the attribute should be displayed in thousands of dollars. In such a situation, two attribute-defining items can be defined, as amount-$ and amount-$1000. There is no limit to the number of attribute-defining items that can point to an attribute.
The two most common forms of data stored are:
Data Form | Description |
---|---|
ASCII text | For sorting purposes, data should be left aligned. The t code may be used for justification instead, which is left aligned and breaks at spaces (instead of in the middle of the word) if the text is wider than the display column. |
Numeric values | For sorting purposes, data should be right aligned. For dollar ($000.00) values, use the mr2 correlative. |