Data structures in assembler

This topic shows the data structures defined in Data structures for QUERY command as they would appear in assembler. The calling program must declare all the structures it is going to use before calling GIMAPI.

The data structures defined for the entries are DSECTS. This means no storage is allocated for the variables, but they are used to reference data allocated by the GIMAPI command. The calling program must declare address variables to reference the storage.

A macro file for assembler code is provided in member GIMMASM of the MACLIB library.