Skip to main content

Problem:

To determine the format of a Micro Focus executable file, use the Server Express cobfile command.  The cobfile command is available in Server Express 2.0 and later.

Resolution:

This command checks for intermediate code files (.int files), generated code files (.gnt files) Animator information files (.idy files), and library files (.lbr files) produced on Server Express (32-bit and 64-bit) and OCDS Version 4.1 and later.  It also checks for screen output recording files (.scn files, where n is a hexadeximal digit between 1 and F) and keystroke files (.key files).

The cobfile command takes the following format:

cobfile file [file] ...

where file is the filename of a Micro Focus executable file.

For example:

cobfile myprog.int

displays one of the following:

myprog.int:

Micro Focus 32-bit intermediate code file

myprog.int: Micro Focus 64-bit intermediate code file

If the cobfile command does not recognise a a filename supplied in a file parameter as a Micro Focus format file it passes the parameter to the UNIX file command.

Note: To determine the format of an operating system executable file, such as an object file (.o file) or a shared object file (.so file), use the UNIX file command.

Ref:  "Determining the Format of an Executable File" section of chapter 4 "Working in 32-bit and 64-bit Modes" in the User's Guide.

Old KB# 7250