Selection criteria specification


The Selection Criteria - Dataset Specification screen, shown as below, is the first screen displayed when you invoke Option 6 of File-AID for IMS/ISPF.

Selection Criteria - Dataset Specification Screen

image2021-7-23_8-56-56.png

Important

The presence of a highlighted plus (+) or minus (-) sign indicates data set concatenations. See to the section entitled “Datasets” in File-AID for IMS/ISPF Reference space for additional information.

Selection Criteria Dataset

Enter the selection criteria dataset you want to edit. The data set must conform to the characteristics of a valid selection criteria dataset.

Member

Enter the name of the member in the selection criteria dataset. If the field is left blank or a pattern is specified, a member list is displayed. Select a member from the list.

DBDLIB Dataset 1 and Dataset 2

Enter one or two DBD load library data set names. If you enter one DBD load library name, you can enter it on either of the dataset name lines. If you enter two DBD load library names and their blocksizes are different, you must enter the library with the larger blocksize on the first dataset name line.

Member

Enter the DBD member that describes the database that you want to create selection criteria for. If two DBD libraries are entered, File-AID for IMS searches the first before the second to locate the DBD member.

When you create a new selection criteria dataset or member, it will contain the DBD member name you specify in this section of the screen. When you edit the selection criteria at a later time, the DBD Member field on the screen is ignored and the one contained in the selection criteria is used.

Use Application Relationships

Indicate whether you want to define the selection criteria with an application relationship.

Appl Relationship Dataset

You must enter the application relationship dataset name when using an application relationship. Either the DBD member name specified on the screen for a new selection criteria file or the DBD name in an existing selection criteria file is used as the member name for the application relationship dataset.

Important

The following fields are functional only within File-AID for IMS/ISPF. The text is only informational.

Use Layouts

Indicate whether segment layouts are to be used to define the selection criteria. If you intend to create or edit formatted field selection criteria, you must enter Y in this field.

If your installation has both the COBOL and PL/I language support options of File-AID for IMS, you must ensure that your current language mode is compatible with the segment layout and segment/layout XREF dataset information you specify. Your current language mode is indicated by either the word COBOL or PL/I preceding the Use Layouts and Layout Dataset fields.

To change the language mode, enter the COBOL or PL/I primary command or enter the =0 jump command, which switches you to Option 0, File-AID for IMS Parameters.

Segment/Layout XREF Dataset and Member

When you create a new selection criteria data set or member that contains formatted field selection criteria, it is assigned a single record type status or multi-record type status based on the information contained in the segment/layout XREF member. The segment/layout XREF member, created and maintained using Option 7, is described in detail in File-AID-for-IMS-ISPF-segment-layout-cross-reference.

When you edit the selection criteria at a later time, the segment/layout XREF information must result in the same record type (single or multiple) as originally specified when the selection criteria were created. If the segment/layout XREF information you enter results in a type different from the original, the message RECORD TYPE CONFLICT is displayed, and you cannot edit the selection criteria.

When you create a new selection criteria dataset or member that does not contain formatted field selection criteria, it is not assigned a record type status. You can later edit the selection criteria regardless of the Use Layouts indicator you specify at the time.

If your installation has both COBOL and PL/I language support options of File-AID for IMS installed, when you create a new selection criteria dataset or member that contains formatted field selection criteria, it is assigned a language status of COBOL or PL/I based on your current language mode. When you edit the selection criteria at a later time, you must be in the same language mode that the selection criteria were originally created. If your language mode is different than the selection criteria’s language status, the message "SLCTN CRIT/LANG CONFLICT" is displayed, and you cannot edit the selection criteria.

A language status is not assigned to selection criteria datasets that do not contain formatted field selection criteria. You can later edit the selection criteria regardless of your language mode at the time.

Layout Dataset 1 and Dataset 2

Enter the data set names where the layouts specified by the segment/layout XREF reside.

If you enter one segment layout data set name, you can enter it on either line. If you enter two segment layout data set names, they can appear in any order. Each library can be any of the valid segment layout library organization types.

This section provides more information about the following topics:

 

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