Skip to main content

Examining an application to determine bitmode

  • February 15, 2013
  • 0 replies
  • 0 views

This article explains how to examine executables, .int and .gnt files to determine the bitmode used to compile and run.

Problem:

I am installing and configuring a COBOL application on a new server and need to decide whether the default bitmode of the COBOL system should be configured to be 32-bit or 64-bit. How can I examine the existing application (executables, .int and .gnt files) to determine what bitmode it was compiled in and meant to run in?

Resolution:

Use the cobfile command. This is similar to the UNIX file command. This will reveal the bit mode, either 32 or 64, of an executable or object file, or of .int or .gnt or .so files, on machines and operating systems on which both modes are supported.

Old KB# 13985