Using the API to submit a command
This section describes how to code a call to the Application Performance Analyzer command API in an application program. The command API can be called from Assembler, COBOL, PL/I, C or C++ programs. Sample programs for each language are shipped in hlq.SCAZSAMP.
The sample program names for each language are:
- Assembler: CAZAPASM
- C: CAZAPC
- C++: CAZAPCC
- COBOL: CAZAPCOB
- PL/I: CAZAPPLI
Note:
- You must modify the sample code to contain the started task and the system parameters.
- You must modify the COBOL sample code CAZAPCOB.