Overview of GIMAPI

GIMAPI is a program (load module) provided with IBM SMP/E for z/OS, V3R6 that can be called by a user-written application program to query the contents of the CSI.

GIMAPI uses data structures both to receive the query parameters from the caller and to return the query output to the caller. To request a query, you must set up the data structure containing the appropriate query parameters and call GIMAPI.

The general form of the GIMAPI call is:

GIMAPI(apicmd,parmptr,outptr,language,rc,cc,msgbuff)

where apicmd specifies the API command that GIMAPI is to process (either QUERY, FREE or VERSION). See QUERY command, FREE command and VERSION command for descriptions of these commands and a detailed description of how the remaining parameters parmptr, outptr, language, rc, cc, and msgbuff) are used on those commands.