SAVE.LIST |
|
|
The SAVE.LIST command is used to save an active select list for future use.
Format
SAVE.LIST {{file.name} list.name} {FROM list.no} {COUNT.SUP} {KEEP}
where
The SAVE.LIST command copies an active select list to the $SAVEDLISTS or alternative file. When using $SAVEDLISTS, the file will be created if it does not already exist.
If the active list has already been partially processed, only the remaining items are saved. The active select list is cleared after it has been saved unless the KEEP option is used.
@SYSTEM.RETURN.CODE is set to the number of items in the saved list. In the event of an error, the value is a negative error code.
Example
SAVE.LIST INVENTORY FROM 3 Saved list 'INVENTORY' in $SAVEDLISTS.
This example saves active select list 3 as INVENTORY.
See also: COPY.LIST, DELETE.LIST, EDIT.LIST, FORM.LIST GET.LIST, SORT.LIST |