The painter can generate the following types of file:
BMS macro (.bms) files
Copybook (.cpy and .mac) files. Copybooks are generated when you have specified TYPE=DSECT in the mapset definition or by means of the SYSPARM build settings.
Load module mapset (.mod) files. A load module is also known as a CSECT and is generated when you have specified TYPE=MAP in the mapset definition or by means of the SYSPARM build settings.
The painter generates the files using the name that you gave to the mapset. You can specify different filenames using build settings; see the section Build Settings for the BMS Screen Painter