Handling Comments in BMS Macros

The painter can recognize several types of comment embedded in the BMS macros. These comments are generated in the BMS macros by products such as IBM SDF and SDF II, and are used to specify long names for COBOL fields that are generated in the copybook (.cpy file). The painter also uses a special comment type that is used for fields that are repeated vertically or horizontally.

It is important to know what type of comments are embedded in your BMS macros before you try to import them into the painter. If you specify the wrong type, you might encounter problems because certain fields are not imported properly.

Note:

The painter only processes SDF comments and ignores any incidental comments that are embedded in the BMS source. Incidental comments are those that are for documentation and are not related to COBOL field names as described above. These incidental comments are ignored during BMS import and are not regenerated in the output BMS produced by the BMS Painter.

The comment formats that the painter can handle when the Enable SDF features check box is selected on the BMS build settings are as follows:

* 'COBOL-Name'
    DFHMDF POS=
* COBOL-Name
    DFHMDF POS=
* Group-Name.COBOL-name
DFHMDF POS=
* 'Group-Name.COBOL-Name'
    DFHMDF POS=