Using Advanced Record Selection

On the Advanced Report Writer/Mass Load Selection screen you can enter up to five conditional expressions that select and sort a subset of records from the file used to generate the report or to update by the mass load. Each expression uses a combination of verbs, modifiers, conjunctions, dictionary item names, and operators to select a subset of records from the file. The system applies each additional expression to the records selected by the previous expression.

To enter selection data using the Advanced RW/ML Selection screen:

  1. Log into the character-based system. This feature is not available in a Solar Eclipse interface.

  2. With a report or mass load design displayed on the Report Writer/Mass Load Design screen, use the Adv Selection hot key to display the Advanced Report Writer/Mass Load Selection screen.

  3. To run a report or mass load for a limited number of records, enter that number in the Sample field.

This is useful for testing the design on a sample before processing the entire file and obtaining reports such as Top 100 Products or Top 10 Customers.

  1. In the Reselect (Y/N) field, indicate whether the system should re-select the records each time the report or mass load is run.

  2. Enter up to five conditional statements using TCL retrieve sentence operators.

Note: To clear statements from the screen, use the Delete Selections hot key. The system prompts you to confirm the deletion.

  1. Use the Selection Data hot key to enter default selection data values, as needed.

In some cases, the system requires additional data from you for a dictionary item listed on the Report Writer/Mass Load Selection screen to select the correct record.

  1. Use the Begin Select hot key to select and sort the records.

If the program requires selection data, the Selection Prompts screen displays. The screen lists the prompts for any required selection data for which defaults do not exist. Enter the requested information for each prompt and press Enter.

The Count column displays the number of records selected by each conditional expression.

  1. Press Esc to return to the Report Writer/Mass Load Design screen, where you can run the report or begin the mass load.

See Also:

Creating Conditional Statements

Using Standard Record Selection