Delete_Save_Select subroutine
Description
The Delete_Save_Select subroutine erases a saved list of keys.
Syntax
Delete_Save_Select(targetName)
Parameters
The Delete_Save_Select subroutine has the following parameters:
Parameter | Description | |
---|---|---|
targetName | The name which the select list was saved as using Save_Select. The targetName may be in the following formats: 1. <targetName> 2. <tableName><space><targetName> The algorithm executes in the following manner: If targetName contains a space then the assumption is that the first word is <tablename> and a check is performed to determine if the <tablename> is valid. If the <tablename> is valid then any wording after the initial space is the targetName .If the tablename is not valid then the whole string is used as the targetName and the list of keys is saved to SYSLISTS. |
See Also
Example
* this code segment erases the list saved as SYSREPOS_LIST declare subroutine Delete_Save_Select Delete_Save_Select("SYSREPOS_LIST") * This code will delete the saved SYSREPOS_LIST record in the MY_LISTS table. Delete_Save_Select( "MY_LISTS SYSREPOS_LIST" )
listName: The name of the list (or optionally the name of the table the list will reside in followed by the list name, space-separated). If no tablename is specified, then the list is stored in SYSLISTS.