GDDM V3R2 Base Application Programming Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


The bundle list

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



The field attributes that are used with the alphanumeric fields defined in the field list, are themselves defined in the bundle list. Each field definition in the field list contains a bundle row, which is the row number of the bundle definition in the bundle list.

The first row of the bundle list is a header, and following rows contain field attribute bundle definitions. Each bundle definition consists of a status element, and the number of type-and-value pairs in the definition, followed by pairs of attribute types and attribute values describing the attributes of the bundle. It may also contain application data.

Figure 24 illustrates the layout of a bundle list.

The bundle list can be declared as a structure, or as a two-dimensional array stored in row-major order. Programming languages that use column-major ordering of two dimensional arrays have to exchange rows and columns in the description that follows. Below is a sample PL/I declaration for a bundle list, where "depth" and "width" are the array dimensions used in the API call APDEF:


     DCL BUNDLE_LIST(depth,width) FIXED BIN(15);



R Column o 1 2 3 4 5 6 ... w ______ ______ ______ ______ ______ ______ _ _ __ Header 1|List |Used- |Used- | | | | | |status|depth |width | | | | | |______|______|______|______|______|______|_ _ __| Definition 1 2|Bundle|Pairs |Type |Value |Type |Value | | |status| | | | | | | |______|______|______|______|______|______|_ _ __| Definition 2 3|Bundle|Pairs |Type |Value | | | | |status| | | | | | | |______|______|______|______|______|______|_ _ __| Definition 3 4|Bundle|Pairs |Type |Value |Type |Value | | |status| | | | | | | .|______|______|______|______|______|______|_ _ __| . . | | | | | | | | |______|______|______|______|______|______|_ _ __|


Figure 24. The bundle list array


The components of the bundle list are:

Subtopics:

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012