Selection Criteria — Dataset Specification panel


The following figure is used to create new or edit existing selection criteria members. To access the Selection Criteria function, select option 6 from the File-AID Primary Option Menu or enter the appropriate jump command (for example, =6) from any File-AID screen. See Selecting Screens. The Selection Criteria function can also be accessed with the F6 recursive command. See Recursive Commands.

The Selection Criteria Dataset Specification screen is not displayed when you create temporary selection criteria from within the Browse, Edit, Copy, Search/Update, Compare, or Print functions.

Selection Criteria — Dataset Specification screen

File-AID --------  Selection Criteria - Dataset Specification  ----------------
 COMMAND ===>

 Specify Selection Criteria Member to be Created or Edited:
    Selection dataset name   ===> FASAMP.SELECT
    Member name              ===>          (Blank or pattern for member list)  

 Specify Record Layout and XREF Information:
    Record layout usage      ===> S        (S = Single; X = XREF; N = None)  

    Record layout dataset    ===> FASAMP.LAYOUTS
    Member name              ===>          (Blank or pattern for member list)  

    XREF dataset name        ===>
    Member name              ===>          (Blank or pattern for member list)  

 -------------------------------------------------------------------------------
 This function creates and maintains existing File-AID selection criteria. You
 can then apply these criteria in other functions (BROWSE, EDIT, COPY, COMPARE,
 and PRINT).  

 Specify either a record layout dataset and/or an XREF dataset when creating or
 maintaining formatted selection criteria.

Field Descriptions

Specify Selection Criteria Member to be Created or Edited:

Selection dataset name

Specify the name of a cataloged partitioned dataset with attributes of RECFM=VB and a minimum LRECL=300. Use the naming conventions described in Specifying a data set name.

You can enter a pattern dataset name in this field to display a list of data sets from which you can make a selection. A pattern dataset name or mask consists of explicit characters or a combination of explicit and pattern characters. See Pattern dataset names for a complete description.

Enter the FILELIST primary command or blank out the Dataset name field to display the Last Referenced File List. For more information, see Last Referenced File List.

Member name

Specify the member name. You can leave this field blank or enter a pattern member name to display a list of members from which you can make a selection. A pattern member name or mask consists of explicit characters or a combination of explicit and pattern characters. See Pattern Member Names for a complete description. Pattern names cannot be entered in both the Dataset name and Member name fields at the same time.

Specify Record Layout and XREF Information:

Record layout usage

Specify one of the following values:

S

Single record layout. Specify for formatted selection criteria.

X

XREF (record layout cross reference). Specify for formatted selection criteria when more than one record layout is needed for a single data set.

N

None (default). Specify for unformatted selection criteria.

When a formatted selection criteria member is created, it is assigned a single or multiple record status type based on what is specified in the Record layout usage field. If you edit this member at a later time, you must specify the same value in the Record layout usage field as when it was created.

When an unformatted selection criteria member is created, it is not assigned a record status type. This allows you to edit this member regardless of what is specified for the Record layout usage field.

Record layout dataset

Specify the name of a data set that contains the Assembler, COBOL or PL/I record layout. This file is required when creating or editing formatted selection criteria and must be specified when the Record layout usage field is S (single) or X (XREF).

See Record Layout Dataset.

Member name

Specify the member name. You can leave this field blank or enter a pattern member name to display a list of members from which you can make a selection. A pattern member name or mask consists of explicit characters or a combination of explicit and pattern characters. See Pattern Member Names for a complete description. Pattern names cannot be entered in both the Dataset name and Member name fields at the same time.

Specify the name of an existing Assembler, COBOL or PL/I record layout member.

XREF dataset name

Specify the name of a data set that contains the record layout cross reference (XREF) members to use with multiple record type data sets. See Record Layout XREF Dataset.

Member name

Specify the member name. You can leave this field blank or enter a pattern member name to display a list of members from which you can make a selection. A pattern member name or mask consists of explicit characters or a combination of explicit and pattern characters. See Pattern Member Names for a complete description. Pattern names cannot be entered in both the Dataset name and Member name fields at the same time.

After you complete the fields on the Selection Criteria - Dataset Specification screen, press Enter to proceed to the next screen. Depending on the information that you entered, File-AID may display a data set or member list. Once all data set specification is complete, File-AID displays the Selection Criteria Menu.

Use the END (PF3) or RETURN (PF4) primary command, or issue a jump command to exit the Selection Criteria function. If you are modifying existing selection criteria, it is saved.

 

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