Skip to main content

Problem:

BAD MAGIC NUMBER WITH C PGM INCLUDING COBOL

Resolution:

There is no way to mix 32-bit and 64-bit objects in the same executable.   Using the -q64 option of "cc" invariably creates 64-bit objects, but this COBOL product application consists of 32-bit objects, and the two object types cannot be linked.

Old KB# 7181