For information about CBL_GET_PROGRAM_INFO, follow the link below.
Note: For PL/I programs, by default you will only be able to query information about procedures which have OPTIONS(MAIN) specified.
If you need this API to also work with PL/I subroutines (non-main) then you will have to utilize the PL/I compile option -proginfo
when building those subroutines. This option should only be used if needed as it introduces some performance overhead.