Selection Criteria Menu


The following figure provides access to the selection criteria options, global variables, and formatted and unformatted selection criteria specification. It is displayed after the Dataset Specification screen.

Selection Criteria Menu

File-AID - Selection Criteria Menu - USERID9.FASAMP.SELECT --------------------
 OPTION ===>
                                                                - Status -
       1  OPTIONS      - Enter selection criteria options         default
       G  GLOBAL       - GLOBAL Fields                            0   fields
       2  FORMATTED    - Edit formatted selection criteria        0   sets
       3  UNFORMATTED  - Edit unformatted selection criteria      0   sets


 Member list description ===> ______________________________  

     Long    ===> ____________________________________________________________
 Description ===> ____________________________________________________________






 Use VIEW to display selection criteria summary
 Use SAVE to write selection criteria request
 Use END to save selection criteria & return to dataset specification
 Use CANCEL to cancel changes & return to dataset specification

Field Descriptions

OPTION

Specify one of the following valid options:

1

Selection criteria options allow you to specify a particular starting point in the data set and set limits on the number of records processed. See Selection Criteria Options.

G

Define and edit global variables, which allows you to set indicators and save data values into variables within formatted Selection Criteria; these variables can then be compared as part of the Selection Criteria conditions. See Define Global Fields.

2

Create and edit formatted selection criteria, which allows you to select records based on data within a field specified by a record layout. See Formatted Selection Criteria.

3

Create and edit unformatted selection criteria, which allows you to select records based on data conditions without the use of record layouts. See Unformatted Selection Criteria.


Status

Specifies the status of the three types of selection criteria and the defined global variables associated with the selection criteria dataset and member listed on the top line of this screen:

OPTIONS

Reports whether the default options have been modified. Valid values are default or not default.

n fields

Specifies the number of global variable fields that have been defined. These user defined variables are available for use by any of the sets within the criteria.

n sets

Specifies the number of sets that are specified for formatted and unformatted selection criteria. A set of selection criteria is defined as a single expression that can lead to the selection of a record. A set may test for one condition or several conditions. The conditions can be ANDed together and several conditions separated by commas create nested OR conditions within a set.

Member list description

Specify a 30-byte description of the selection criteria. This description is displayed on the member list screen, which allows you to identify the criteria specified in this member.

Long description

Specify a longer selection criteria description, up to 62 characters in each of the two lines. This information is stored in the selection criteria member.

Primary Commands

The following primary commands are valid on the Selection Criteria Menu:

CANCEL

Returns to the Selection Criteria Dataset Specification screen and clears all selection fields.

END

Saves the current selection criteria display in the selection criteria dataset and exits the Selection Criteria Menu without clearing the selection fields.

SAVE

Saves the current selection criteria display in the selection criteria dataset. If the current selection criteria display is temporary, you are prompted for a data set and member name in which to save the criteria.

VIEW

Displays the View Criteria screen, which summarizes the global variables, options and selection criteria sets, formatted and unformatted, into a scrollable display. See View Criteria.

View Criteria

The following figure summarizes the current selection criteria member. It displays selection criteria option settings, global variables, and both formatted and unformatted selection criteria sets on a scrollable display. Use the VIEW primary command on any selection criteria screen to display this screen. Use the END command (PF3) to return to the previous screen.

View Criteria screen

File-AID ------------------------ View Criteria -----------  ROW 1 TO 20 OF 35
 COMMAND ===>                                                  SCROLL ===> CSR
 Use END to exit View Display  

 ******************************* TOP OF CRITERIA *****************************
 DEFINE BLOCKS=SELECTION,  

 DESCRIPTION ="EMPLOYEE SELECT EXAMPLE",
 DESCRIPTION1="SELECT SINGLE EMPLOYEES WITH LOCAL W/H LT 7",
 DESCRIPTION2="OR HOME PHONE IN AREA CODE 404 408 OR 415",  

        SELECTION_DSNAME=USERID9.FASAMP.SELCRIT,
        SELECTION_MBRNAME=EMPSELC,  

        LAYOUT_DSNAME=USERID9.FASAMP.LAYOUTS,
        LAYOUT_MBRNAME=EMPLOYEE,  

        INITIAL_SKIP=0,
        THEN_SELECT=1,
        THEN_SKIP=0,  

        MAXIMUM_TO_SEARCH=ALL,
        MAXIMUM_TO_SELECT=ALL

This section provides information about the following topics:

 

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