INCLUDE_PGM_INFO

This variable causes additional program information to be added to the string passed to COBOL error procedures.

When INCLUDE_PGM_INFO is set to 1 (on, true, yes) the string passed to COBOL error procedures is prepended with the current program name and the address of the program failure. The address may not be exactly the same as that in the COBOL listing, but it will be very close. (The given address is the actual current program counter, which is typically slightly advanced from the line on which the fault occurred.) When INCLUDE_PGM_INFO is set to the default, 0 (off, false, no), the string contains only the text of the intermediate error message.

For more about COBOL error procedures, see the entry for the CBL_ERROR_PROC in Appendix I.