Retrieves a saved select list.
statement retrieves a saved select list, making it available to the READNEXT
statement. You specify the listname
specifying the storage location of the select list, and the listnum
of a numbered active select list into which to copy it. The select list was saved using WRITELIST
You can optionally specify a THEN clause, an ELSE clause, or both a THEN and an ELSE clause. If the saved select list retrieval is successful, the THEN clause is executed. If saved select list retrieval fails (listname
does not exist), the ELSE clause is executed. The statements
argument can be the NULL
keyword, a single statement, or a block of statements terminated by the END
keyword. A block of statements has specific line break requirements: each statement must be on its own line and cannot follow a THEN, ELSE, or END keyword on that line.