Previous Topic Next topic Print topic


Compiling Native COBOL Programs for 64-Bit

Restriction: The following information applies to native COBOL only.

The Compiler directive P64 enables you to create a program that can be run on COBOL Server in 64-bit mode. If you do not use the P64 directive when you compile your program, the program can only be run on COBOL Server in 32-bit mode. Therefore, if you have developed an application on a 32-bit development system, you must recompile it with the P64 directive set, if you want to migrate it using COBOL Server in 64-bit mode.

The P64 directive is set by default if you check the 64-bit check box in the Build Settings dialog box.

Previous Topic Next topic Print topic