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

  1. Click the toolbar File-AID icon Data Editor icon.JPGand select XREF for IMS Editor > New Member.
    Create_IMS_dataset.png
    Alternatively, you can create IMS datasets from File > New > Other.
  2. Fill in the following details and click Finish
    IMS_create_new.png

    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:

  1. Click the toolbar File-AID icon Data Editor icon.JPGand select XREF for IMS Editor > Existing Member.
  2. Select a MULT-RTV member from the list and click image2022-11-10_20-12-57.png. 
    MULT_RTV2.png
  3. Select the layout definition that you want to edit. 
  4. Update either Comment or Starting Data Name. 
  5. Click Ok.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI DevX Workbench for Eclipse 23.02