aibStream data structure

The distributed data management (DDM) architecture aibStream is a data structure that is contained in the OUTAIBDBPCB DDM object when the object is passed back in a reply message.

Format

Table 1. Format of the aibStream data structure
Byte offset Length Name Description
0 1 AIB null indicator Binary integer.
X'00'
Indicates that the rest of the aibStream data structure is present.
X'FF'
Indicates that the aibStream data structure contains no data after the AIB null indicator. The total length of the aibStream data structure is one byte.
1 4 Output area used Binary integer.
5 4 Return code Binary integer.
9 4 Reason code Binary integer.
13 4 Error code extension Binary integer.

Usage

When the Open Database Manager (ODBM) services a GU or GN call, ODBM returns requested data in rows defined within the data stream of a QRYDTA reply object. Each row begins with a concatenation of the aibStream and the dbpcbStream data structures followed by the requested data.