PREPASM

Specifies that the Assembler preprocessor is to be called before the BMS source is compiled, to expand COPY statements and hand-coded BMS macros in the BMS files into standard BMS statements. The pre-processor creates a BAL source file containing the BMS source file with COPY files expanded. The compiler references error messages in the BAL file.

Syntax:

>>--/----PREPASM-.------.------><
                 +=KEEP-+

Parameters:

KEEP
By default, the BAL file is deleted at the end of the compilation. The KEEP parameter prevents the BAL file from being deleted so that positioning to reported errors can occur.

Properties:

Default
The Assembler preprocessor is not called.
Setting in the IDE:
Specify in Additional directives in the BMS file properties.

Comments:

You must have Enterprise Developer Assembler support installed on your machine to make use of this directive.

You can specify the location of the copybook requiring preprocessing with the SYSLIB directive.