MFASM produces the following files:
MFASM test.mlc NOANIM
Here the NOANIM option is also used to suppress the generation of unnecessary debug files. To ensure that the resulting executable file, in this example TEST.390, is picked up by the COBOL runtime, move it to the same subdirectory as other COBOL executables in the application. At CALL time, the COBOL runtime searches for and loads executables with the .390 file extension as it would any other executable file with extensions such as .dll.
Example 2 - Producing Assembler Data Tables
Assembler data tables are produced by using the OMF (MOD) directive to generate files with the .mod extension as follows:
MFASM test.mlc OMF(MOD)NOANIM NOLIST
To ensure that the resulting .mod file, in this example test.mod, is loaded into memory along with other CICS programs by use of the EXEC CICS LOAD command, move it to the same subdirectory as other COBOL executables in the application.