Skip to main content

Problem:

The user wants to add copybooks within a BMS.

Resolution:

User can add the /PREPASM as an addition directive for the BMS.

BMS source files that contain COPY statements and hand-coded BMS macros might not be able to be read by Mainframe Express. However, if you have purchased the Assembler Option for Mainframe Express, you can convert the BMS files containing such statements to BMS files that can be read by Mainframe Express.

To do this, you specify the BMS directive PREPASM: click Project > Build Settings for Project > BMS, then enter /PREPASM in Additional directives. This directs CICS Option to call the Assembler preprocessor before calling the BMS compiler.

If the Assembler macro library is not in the default location, you must also specify its location by entering the SYSLIB directive in Additional directives.

For more information on the PREPASM and SYSLIB directives, see the Help topics PREPASM and SYSLIB.

Old KB# 2528

#MFDS
#EnterpriseDeveloper