The utility generates C++ class definitions and implementations that applications can use to access the map data as named fields within a map object. A class is defined for each map, allowing field names and lengths to be known at compile time. The C++ classes use the CICS EPI base classes to handle the inbound and outbound 3270 data streams. The generated classes inherit a base class CclMap that provides general functions required by all map classes.
Run the CICSBMSC utility on the BMS source as follows:
CICSBMSC <filename>.BMS
See the note at Making External Presentation Interface Calls from a C++ Client Program for BMS support on Linux®.
The utility generates .HPP and .CPP files containing the definition and implementation of the map classes.
Having used the EPI BMS utility to generate the map class, use the base EPI classes to reach the required 3270 screens in the usual way. Then use the map classes to access fields by their names in the BMS map. The map classes are validated against the data in the current CclScreen object.