Specifying the selection criteria dataset
You must specify a partitioned selection data set to save your criteria members when using this function. The attributes of the dataset are:
A sample Selection data set (FASAMP.SELCRIT) is created for you with your other training files. Create a new member "INVSEL" to select inventory file records that have a status of "AVAIL". Use record layouts to define your selection using formatted field selection criteria.
When you define or maintain formatted field selection criteria members, you must specify a single record layout or an XREF member.
Selection Criteria - Dataset Specification screen

Steps:
- Type FASAMP.SELCRIT in the selection Dataset name field.
Type INVSEL in the selection Member name field.
If this member exists, you see the member and are able to specify and save changes. If this is a new member, you define and save a new criteria member. If you leave this field blank or use a mask (for example, MEM*), a member list is displayed from which you can select a member for criteria display and modification.
- Type S in the Record layout usage field.
- Type FASAMP.LAYOUTS in the Record layout dataset name field.
- Type INVFILE in the layout Member name field.
- Press Enter. File-AID displays the Selection Criteria Menu screen as illustrated in Selection Criteria Menu Screen.