GCC Newspaper
OCTOBER 6, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
cobol

Cobol runtime partially implements program info retrieval

Partial implementation of `CBL_GET_PROGRAM_INFO` added to Cobol runtime, supporting program name retrieval.

The Cobol runtime library (libgcobol) now includes a partial implementation of CBL_GET_PROGRAM_INFO. This initial version supports retrieving the program name for specific function codes (0 and 2), laying the groundwork for broader program information access.

In Details

This commit introduces a new, partially implemented intrinsic function, CBL_GET_PROGRAM_INFO, into the libgcobol runtime. The current implementation is limited to returning the program name for specific function codes (0 and 2), providing a foundational capability for runtime program introspection.

For Context
CBL_GET_PROGRAM_INFO
A Cobol intrinsic function designed to retrieve various pieces of information about the currently executing program, such as its name, version, or attributes.
libgcobol
The GNU Cobol runtime library, providing essential functions and services needed to execute Cobol programs compiled by GCC.
Filed Under: cobolruntimefeature