Importing BMS map sets
ZIETrans enables you to create screen captures from Customer Information Control System (CICS®) Basic Mapping Support (BMS) map sets. BMS maps are screen definitions files for CICS. Each map defines all or part of a screen and a CICS application typically displays one or more maps to create a complete screen image. Maps contain both static and dynamic areas or fields.
The source for BMS maps is organized in groups called map sets. One map set contains one or more maps. Map sets exist in source form as one map set per source file. When ZIETrans imports BMS Maps, the import takes place at the map-set level. It is not possible to import an individual map.
Maps initially exist on the host system and must be placed on your local file system (or appear to be on the local file system) and have an extension of .bms before being imported to ZIETrans.
- Click File > Import > ZIETrans > BMS map sets into ZIETrans to open the Import wizard.
- Select the BMS map set files you want to import from the list and the destination of the imported files.
- Click on the pull down arrow to select the country Host code page. This is the code page that was used to create the BMS map on the host.
- Click on the pull-down arrow to select the BMS file code page. This is the code page used for the BMS file when it was transferred to the workstation.
- You have the option to Overwrite existing
maps without warning and to Generate
one screen capture per map using the map name as the screen capture
name.
Note: You may not want to automatically create screen captures if any of the maps need to be combined with other maps to form a screen.
- You can also select Overwrite existing screen captures without warning.
- Click Finish.
BMS capture files are stored in a separate Maps folder within the ZIETrans project. By default, the Maps folder is not visible in the ZIETrans Projects view unless there are imported maps. Within the Maps folder is a separate folder for each map set, and within each folder, a separate file for each map (using extension .bmc). Additionally, the original source is stored in the file system (extension .bms) and is shown in the folder containing its associated maps. You can edit the source by double clicking the file. If the source is edited and saved, the maps are automatically regenerated and overwritten except for maps that have been modified through the Properties view.
- Hovering your mouse cursor over the map name displays a small image of the map.
- When you click on a map in the ZIETrans Projects view, the Properties view is updated to show details about the selected map. If there are named fields in the map, you can use the Properties view to modify the contents of those fields. By making copies of maps to alter the contents of named fields within the copies, you can create different customized versions of maps that accurately reflect the way the screen will be shown by the application.
- Double clicking on a map brings up an editor page that shows how the map would display on a 3270 screen. Double clicking on the map set folder name will show the map source in an editor.
- Right clicking on a map name in the ZIETrans Projects view adds a Generate Screen Captures selection to the
pop-up menu. Selecting this launches the Generate screen captures
wizard that can be used to select one or more BMS capture files to
be used to create a screen capture. You can elect to create separate
screen captures for each BMS map selected or merge selected BMS maps
into a single screen capture. Maps cannot be merged if fields overlap.
The Overwrite existing resources without
warning check box can also be selected if needed.
Note: If separate screen captures are generated and more than one file is selected, the names of the screen capture files are generated automatically.