MFSGEN Preprocessor Exit

The MFSGEN preprocessor is available only in Micro Focus COBOL development systems. It enables you to make changes to MFS source using a COBOL program.

Invocation
Invoked during MFS generation by specifying:
mfims mfsgen filename.mfs PREPROCESS(exitname)
where filename is the name of an MFS file, and exitname is the name of a COBOL program.
Example
Enterprise Developer provides a sample MFSGEN Preprocessor exit, MFSPREPR.cbl, which is located by default in your %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\IMS\Classic\Examples (Windows) or $COBDIR/demo/ims/examples (UNIX) directory.