We supply a configuration file, MF370CTL.CFG you can use to customize your input and output directories by editing the values for a series of SYS variables. This file is located by default in the %ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\base\bin directory.
The assembler looks for MF370CTL.CFG in the current working directory before searching for it in the default location.
All output variables take a single directory specification.
Output Variables | Description |
---|---|
SYSIN | Macro input .mlc files |
SYSLIST | Assemble and Link listing files .mat, .prn, and .lst |
SYSWORK | Assemble, Link and debugger 370 work files .bal, .idf, and .idx |
SYSPUNCH | Assemble output .pch files for PUNCH statements |
SYSMPC | Assemble input precompiled macros .mpc |
SYSLIN | Link input .lin files and Assemble output .obj files |
SYSLMOD | Link output load-member .390 files |
The SYSLIB and OBJ370 input variables take multiple directories, separated by semicolons, allowing you to specify several search directories for macros and copybooks. The SYSPARM input variable takes a single parameter.
Input Variables | Description |
---|---|
SYSLIB | Assemble input macro and copy files .mac and .cpy |
OBJ370 | Link input .obj files (must contain SYSLIN specification) |
SYSPARM | Macro input SYSPARM value. The default is MF370. |
For example, to specify an output directory:
SET SYSLIB=.;C:\SYSLIB;C:\USERLIB1;"C:\USERLIB2 MFASM TEST.MLC"
This example instructs the assembler to search the listed directories, in order, for macro and copybooks as they are encountered during assembly. By setting SYSLMOD, output files such as .390 files can be directed to specific output directories.