GOFF

The GOFF option instructs the compiler to produce an object file in the Generalized Object File Format (GOFF).

Read syntax diagramSkip visual syntax diagram
   .-NOGOFF-.   
>>-+-GOFF---+--------------------------------------------------><

When the GOFF and OBJECT options are in effect, the compiler produces an object file in GOFF format.

When the NOGOFF and OBJECT options are in effect, the compiler produces an object file in XOBJ format.

The GOFF format supersedes the S/370 Object Module and Extended Object Module formats. It removes various limitations of the previous format (for example, 16 MB section size) and provides a number of useful extensions, including native z/OS® support for long names and attributes. GOFF incorporates some aspects of industry standards such as XCOFF and ELF.

When you specify the GOFF option, you must use the binder to bind the output object.

The following options are not supported with the GOFF option:

Note: When using GOFF and source files with duplicate file names, the linker might emit an error and discard one of the code sections. In this case, turn off the CSECT option by specifying NOCSECT.