An item is the structure that holds data in a Reality file. Items can be direct (in which the data is stored in the same frame as the header and item-id) or indirect (in which the data is stored in one or more separate frames).
An item consists of the following:
Item-id. This is an ASCII character string that uniquely identifies the item within the file. It can be from 1 to 240 bytes long, using ASCII characters in the range X’20' to X’FA'.
Note: If you specify an item-id that contains one or more system delimiters (characters X'FB' to X'FF'), Reality will truncate it immediately before the first system delimiter.
The maximum size of a Reality item depends on the amount of memory available to the user, but cannot exceed 2Gb.
Items are classified as “Binary” or “Character” oriented depending on the type of data they contain:
A direct item comprises the following:
Header containing:
An indirect item comprises the following:
Header containing:
Header containing: