As part of our ground-up development of the sample application, we show how to use the BMS Editor in WD/z to create our BMS maps. This is a modern tooling alternative to using the traditional designer (such as SDF II) or straight coding of BMS source.
The WD/z BMS Editor is associated with .bms map set files and uses the following Eclipse views in its perspective:
Lists the projects and the BMS map sets for that project.
Lists the maps and artifacts within the map.
Items associated with BMS maps are listed that can be easily dragged onto the design canvas.
Lists the attributes for the maps and the map sets that are highlighted in the Outline view.
This section demonstrates how we created one of the BMS maps for this project.
1. Create a Project
The following steps show how to create a project, into which we will be able to create the map set and map objects.
The local project can be seen in the Project Explorer view in the Other Projects group.
Use the following steps to view the Project Explorer pane:
The project can be seen in the Project Explorer view, as seen in Figure.
Creating the Redbooks local project
2. Create a new map set
The following steps show you how to create a map set for this project:
Defining the Map set name
The map set itsoms1 are now listed in the project in the Project Explorer view, as seen in Figure.
The Map set is created
3. Designing the BMS map
Now we use the drag and drop technique, dragging from the Palette view and dropping onto our design canvas to create a BMS map.
The design canvas with Palette items
The Outline view in Figure shows a list of all the fields associated with the map.
The Outline view shows attribute names for the map
Properties for each of the fields can now be defined by either of the two following methods:
The position of the field can be moved by dragging the field around the design canvas.
Previewing the Map
The generated map source from the BMS Editor
4. Creating additional maps
The previous section described the creation of a single map into a map set. Ordinarily there is more than one map within a map set. We will now see how the BMS Editor handles multiple maps within the map set. There are a couple of methods for using multiple maps on the design canvas.
The first and easiest way to manage maps on the canvas is to drag and place the map to the side of the canvas:
Note that the size and the position of the map are displayed in the pop-up box.
Alternatively, the map can be ‘hidden’ from view. The Palette contains a Map object that you can drag onto the design canvas to create additional maps. In 100 Developing Web Services Using CICS, WMQ, and WMB order to view only the current map, the Hide Map option is used to assist with the layering of maps on the work space.
To demonstrate this, Figure shows the result of dragging a map object from the Palette onto the design canvas for MAP1. “Designing the BMS map” will be given a default name of MAP2.
The map object
The Outline Explorer view shows the newly created MAP2. To work with this map, you may want to hide MAP1 using the Hide Map option on the MAP1 object in the Outline Explorer view. Right-click the MAP1 object as shown in Figure.
The Hide Map Option
Now the design canvas shows only the new map, which you can resize and work on it. The Outline Explorer view shows that the map is hidden as in Figure.
The Outline Explorer view showing hidden map
Copying map definitions
Many map sets contain maps that have a common layout or duplicate fields. From the Outline view of the map sets and maps, either the entire map or any of the fields within the map can be copied to another map in either the same or a different map set. Following is the procedure:
IBM-CICS Related Interview Questions
|VSAM Interview Questions||IBM - VSAM Interview Questions|
|IBM-REXX Interview Questions||JCL Interview Questions|
|IBM DB2 Interview Questions||COBOL Interview Questions|
|IBM-JCL Interview Questions||DB2 Using SQL Interview Questions|
|IBM-JCL&VSAM Interview Questions||IBM Mainframe Interview Questions|
|Mainframe DB2 Interview Questions|
Service-oriented Architecture And Cics
Cics As A Service Provider And Requester
Modern Web Services Development Tools
Development Of The Change Of Address Cics Application
Exposing Our Application As A Web Service
Developing Web Service Clients
Tracing The Change Of Address Scenario
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.