Managing record selection criteria in File Manager

Describes how to save and retrieve record selection criteria during template editing by using the SR and GR commands on the Field Selection/Edit panel.

About this task

When working with complex copybooks or templates, you can save and retrieve record selection criteria to avoid repeated manual entry in subsequent sessions. These operations are performed from the Field Selection/Edit panel.

Procedure

  1. Initializing a criteria table (RA command)

    Before saving filters, associate the session with a reference name. This reference name acts as a container that groups saved expressions.

    1. On the Field Selection/Edit command line, enter: RA <name> and press Enter.

      Example: RA TEST1

    2. File Manager creates a reference group for the specified name.
      Note:
      If you specify a different reference name (for eg. RA TEST2), a new reference group is created and subsequent saves are stored under that group.
  2. Saving selection criteria (SR) command

    After defining record identification (Id) or record selection (Sel) expressions, follow the below steps to save the selection criteria.

    1. On the command line , type SR (Save Reference) and press Enter.
    2. In the Edit Function Reference Save panel, specify a unique name and description.
    3. Press Enter to save the criteria.

  3. Retriving saved criteria (GR) command

    To reuse selection criteria saved in the active reference group:

    1. On the Field Selection/Edit command line, type GR (Get Reference) and press Enter.
    2. The Edit Function Reference List panel will appear; type S next to the desired criteria to select it.