Saving a Select-list

The SAVE-LIST command gives a select-list a name and stores it as an item in the specified file (with POINTER-FILE as the default). POINTER-FILE may either be the system POINTER-FILE (in the SYSPROG) account or a local POINTER-FILE. If the system POINTER-FILE is used, the select-list is accessible to all other accounts on the system. A saved select-list may be removed from the POINTER-FILE with the DELETE-LIST command.

To save a select-list, type SAVE-LIST immediately after creating the list. For example:

>SELECT ORDERS WITH AMOUNT > "25000"

23 ITEMS SELECTED.

>SAVE-LIST LARGE-ORDERS

LIST 'LARGE-ORDERS' SAVED - 1 FRAMES USED.

The system reports the number of frames used to store the LARGE-ORDERS select-list, in this case, one frame.

NOTE

If a saved select-list of the same name already exists, the new one overwrites it without asking for confirmation.

See Also

Using Select-lists

Processors That Use Select-lists

Creating Select-lists

Working with Saved Select-lists