IndexList

Data Type Identifier

32

Description

A variable-length string of data that is composed of multiple values up through a maximum of 32767 bytes. The data is a list of AnonymousVar data values, and each individual data value in the list has the following characteristics:
  • Must be unique within the field.
  • Has a maximum length of 254 bytes
  • Is composed of a 2-byte length field followed by the number of data bytes specified by the length field. The AnonymousVar data type identifier is not part of the value.
Figure 1 shows an example Indexlist string that contains three AnonymousVar values:
  • 00 08 C9 D5 C4 C5 E7 F1 40 40
  • 00 06 C9 95 84 85 E7 F1
  • 00 08 93 95 C4 C5 A7 C5 C5 C5
Figure 1. Example IndexList Field
This figure shows an example of an IndexList string.

Null Value

Length field is zero.

PL/I Declaration

% IndexList = 'CHAR(32767) VARYING';  

C Declaration

typedef    _Packed struct {
             Smallint Length;
             char    Text[1];
           } IndexList;