Creating or editing IMS datasets by using XREF editor
A record layout cross reference (XREF) is used to automatically match record layouts to data records for those functions that use layouts to format data. An XREF is needed when the data being formatted requires more than a single record layout. The XREF is a cross-reference between each data file record and the corresponding layout. For more information, see XREF-Processing.
This topic provides the following information:
To create a new IMS dataset
- Click the toolbar File-AID icon
and select XREF for IMS Editor > New Member.

Alternatively, you can create IMS datasets from File > New > Other. Fill in the following details and click Finish.

Field
Description
Host
Select the host that contains the PDS in which the new XREF member is to be created. Click Configure if you want to configure a new host connection.
Environment
After selecting a host, corresponding environments are displayed in this list. Select the appropriate environment.
IMS XREF dataset
Either select a dataset from the dropdown list or click Browse and use the Dataset Selection dialog box to specify the desired PDS.
DBD library to search first
(Optional) Enter your own DBD library to search first for DBDs matching your DBD name.
Load DBD name
Click this button to load all the DBDs in the DBD Name list. If any DBD library mentioned it uses both the condition to find DBD name.
IMS XREF description
Enter description for IMS XREF.
To edit an existing IMS dataset
You can edit the following details by using XREF for IMS Editor:
- You can edit Comment or Starting Data Name of the following member types:
- Single
- Multiple record type values (MULT-RTV)
- LCHILD
- CONCAT
- You can add a single or a MULT-RTV member under a MULT-RTV member. You can either add Comment or Starting Data Name information for the newly added member.
- You can delete a single or a MULT-RTV member under a MULT-RTV member.
- You can convert a single member to a MULT-RTV member.
The following example shows how to edit a MULT-RTV member:
- Click the toolbar File-AID icon
and select XREF for IMS Editor > Existing Member.
- Select a MULT-RTV member from the list and click
. 
- Select the layout definition that you want to edit.
- Update either Comment or Starting Data Name.
- Click Ok.