Previous Topic: Run the System Information UtilityNext Topic: Address Command—Issue Commands to the API


Using the Application Programming Interface

The application programming interface (API) for CA SYSVIEW can be used to obtain information from CA SYSVIEW displays for use in other programs. You can use TSO/E REXX to access the API.

Commands are passed to the API by using the REXX ADDRESS function. The information from the display is passed back to the caller in a line-oriented format. Change the information passed back by using the API.

A CA SYSVIEW environment is built as a subtask within the address space of the requester. The subtask and environment are freed when the session terminates.

This section contains the following topics:

Address Command—Issue Commands to the API

Data Returned from the API

C(END)—End the API Session

API Called from a REXX Internal Subroutine

Use the API with TSO/E REXX

Sample REXX Procedure