If you compile a program using default options, an object module is created in the current directory. By altering compile-time options, you can request other output to be created in addition to the object module. Table 9 lists other possible compilation outputs which are also located in the current directory by default.
All compiler output files use the same file name as the main program file. The file extensions are specified in the following table.
| Output | File extension | How requested (compile-time option) | How relocated (environment variable) |
|---|---|---|---|
| Preprocessed source text | DEK | DECK option of appropriate preprocessor | IBM.DECK |
| Object module | OBJ | OBJECT | IBM.OBJECT |
| Object listing | ASM | LIST | IBM.PRINT |
| Template .DEF file | DEF | XINFO(DEF) | IBM.OBJECT |
| Message listing | XML | XINFO(XML) | IBM.OBJECT |