GET-LIST Command

The GET-LIST command retrieves a select-list that was previously saved. After retrieval you can execute a single command on the specified select-list. To execute more than one command, you must retrieve the select-list again.

Format

GET-LIST [[DICT] filename] list-name [list-name] [(U)]

Parameter(s)

DICT

File dictionary.

filename

Specified pointer-file where the select-list is stored. If filename is not specified, the default is POINTER-FILE.

list-name

Name of the select-list that you want to retrieve. If list-name is not specified, the default is @.

U

Produces a list with unique item-IDs.

Description

If more than one list-name is specified, the resultant list is the concatenation of the specified lists in the order specified.

You can retrieve any select-list created from another account using a Q-pointer.

Retrieving a Saved Select-list

The following example retrieves a select-list called LATE (which was saved with the SAVE-LIST command) and then sends the selected items in a report to the printer:

>GET-LIST LATE

52 ITEMS SELECTED.

 

>LIST CUSTOMERS LAST-NAME INVOICE DATE HEADING "LATE PAYMENT REPORT" (P)