guides:programming:programmers_reference_manual:delete_save_select

Delete_Save_Select subroutine

The Delete_Save_Select subroutine erases a saved list of keys.

Delete_Save_Select(targetName)

The Delete_Save_Select subroutine has the following parameters:

ParameterDescription
targetNameThe 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.
* 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.

  • guides/programming/programmers_reference_manual/delete_save_select.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1