z/OS MVS Programming: Callable Services for High-Level Languages
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Invoking the CEATsoRequest API

z/OS MVS Programming: Callable Services for High-Level Languages
SA23-1377-02

The format to use to call the CEATsoRequest API follows:

#include <ceaytsor.h>
#include <ceaxrdef.h>

int32_t CEATsoRequest(CEATsoRequestStruct_t* RequestStruct,
                      CEATsoQueryStruct_t* QueryStruct, 
                      CEATsoError_t* ErrorStruct)

The call format is the same for each request type. The only difference is the fields that are required for each structure. For a description of each parameter and all the possible fields that can be included in each structure, see Parameters. For a list of the fields that are required for each request type, see Understanding the request types.

The CEATsoRequest API is used as a dynamically loaded library. The file ceasapit.x, which exists in /usr/lib, contains the sidedeck needed to link your program to the DLL. The contents of the file are depicted in Figure 1.

Figure 1. Contents included in the ceasapit.x file
IMPORT CODE64,'ceasapit.dll','CEATsoRequest'

To compile your programs, the following header files are required: ceaytsor.h and ceaxrdef.h. The header files are stored in partitioned data set SYS1.SIEAHDRV. The contents of the header files are provided in CEAYTSOR header file and CEAXRDEF header file.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014