This article describes how to resolve error ld: 0711-596 SEVERE ERROR.
Problem:
Creating an executable from a mixture of COBOL source and pre-compiled C objects results in an error "ld: 0711-596 SEVERE ERROR." A command line example would look like this:
cob -x myprog.cbl cprog.o
Error message:
ld: 0711-596 SEVERE ERROR: Object cprog.o
An RLD for section 2 (.data) refers to symbol 22,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
Old KB# 14177