I am getting error "DC026003 LINK TO program FAILED--LOADLIB I/O ERROR" for a COBOL program even though the program is in the load library.

Document ID : KB000007952
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

I am getting error DC026003 LINK TO program FAILED--LOADLIB I/O ERROR for a COBOL program even though the program is in the load library. What can cause this?

Resolution:

The DC026003 error message with a DC COBOL program normally indicates the program has been compiled with unsupported COBOL compile options.

If you check the DC LOG you will also see this error message: COBOL-BAD COMPILER/OPTION/VERB 

Most commonly this is due to the TEST, DYNAM or ADV compile option.

To resolve this add the following options in the PARM statement of the COBOL compile: 'NOTEST,NODYNAM,NOADV'

For a full list of COBOL features not supported by IDMS see section Features Not Supported by CA IDMS in https://docops.ca.com