Output from query requests
Requested information is returned to the calling application in a chain of one or more blocks in storage. The pointer to the beginning of this chain is returned in the area specified by the OUTPUT parameter of the Query request.
The storage for these blocks is not preallocated by the calling application. DBRC will acquire private storage for these blocks. It is the responsibility of the calling application to free this storage using the Buffer Release request (DSPAPI FUNC=RELBUF).
Each storage block begins with a standard header mapped by the DSPAPQHD.