IBM Support

API to query information about a running COBOL program

Troubleshooting


Problem

How can you query information about a running COBOL program using Enterprise COBOL for z/OS 5.1?

Environment

API enhanced in the Language Environment COBOL runtime library with APAR PM93979.

Resolving The Problem

The Runtime information API, IGZXAPI, described in the COBOL-specific vendor interfaces has been enhanced. This is a loadable module to query information about a running COBOL program.

To help vendor tool programs to find the writable static area, we have added capability in the Runtime Information API routine to locate the WSA of a COBOL V5 program. (Bullet C in the attached document). The API routine also supports querying and updating of File Status variables in a COBOL V5 program. (Bullet D).

The following file contains the documentation related to that API.
cobol_runtime_info_api.txtcobol_runtime_info_api.txt


--------------------------------------------------------------------------------

[{"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Runtime","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"5.1","Edition":"Enterprise","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}}]

Document Information

Modified date:
08 August 2018

UID

swg21649728