Problem:
Intermediate level code code (int) is portable between Windows and UNIX.
Can you take an int module and that uses DB2 and run it on UNIX?
Resolution:
Although int level code is portable this is not true where database access is required, as database precompilers generate different COBOL code across platforms (and also between 32-bit and 64-bit platforms).
COBOL applications that use databases need to be precompiled on the target platform.