IBM Support

API to query information about a running COBOL program

Technote (troubleshooting)


Problem(Abstract)

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


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

Document information

More support for: Enterprise COBOL for z/OS
Runtime

Software version: 5.1

Operating system(s): z/OS

Software edition: Enterprise

Reference #: 1649728

Modified date: 11 June 2014