This example demonstrates how to create a data map for a single IMS segment.
In this example, you use the IMSDEMOS example and import the example DBD source file to define the segment and the hierarchical sequence. You also import a COBOL copybook for the segment. This example uses the DL/1 batch access method.
To add a single-segment IMS data map:
On the
Resources
tab in the
Resource Explorer
, click
Add > Data Map
.
Enter the following information in the
Name
dialog box:
In the
Schema Name
box, enter
IMSS1
.
In the
Data Map Name
box, enter
IMSM1
.
In the
Access Method
list, select
DL/1 BATCH
.
Select the
Import Record Definitions
option.
Click
Next
.
In the
DL/1 Batch Access Method
dialog box, specify information about the data source .
If you are reading an IMS unload data set, the
IMS SSID
and
DBD Name
values are required.
If you are reading the IMS database by using a netport job that runs either DL/1 batch or BMP, the
PCB Number
value is required.
Click
Finish
.
On the
Data Map
tab in the
Resource Explorer
, the IMSS1.IMSM1 data map appears.
In the
Import Copybook - Source Details
dialog box, enter the following information:
Select the
Remote
option.
In the
Type
list, select
DBD
.
Click
Next
.
In the
Import Copybook - Remote DBD Details
dialog box, enter the following information:
In the
File Name
box, enter the PDS name and DBD member with the high-level qualifier (HLQ) that you specified at installation. For example:
hlq.DTLDEMO(IMSDBD)
In the
Location
list, select the z/OS location.
The locations displayed in the
Location
list are defined by NODE statements in the dbmover.cfg configuration file on the PowerExchange Navigator system.
If security has been implemented for the PowerExchange Listener on z/OS, enter the z/OS user ID and password.