SAVELIST |
![]() ![]() ![]() |
The SAVELIST statement saves an active select list to the $SAVEDLISTS file.
Format
SAVELIST name {FROM list.no} {THEN statement(s)} {ELSE statement(s)}
where
The SAVELIST statement saves an active select in the $SAVEDLISTS file. The numbered list is destroyed by this operation.
If the list had been partially processed before the SAVELIST statement is performed, only the unprocessed portion of the list is saved.
At least one of the THEN and ELSE clauses must be present. If the list is successfully saved, the THEN clause is executed. If the list cannot be saved for any reason, the ELSE clause is executed. |