Software AG Products 2.4.1 | Reference Guide | Execution Commands | Detailed Syntax | @RELEASE
 
@RELEASE
The @RELEASE command releases the Adabas command ID. The Adabas command ID has three functions:
*To identify a format buffer so that further use of the same format buffer with the same command ID is more efficient.
*To identify a sequential read.
*To identify a list of ISNs found in a @FIND command.
The syntax of the command is as follows:
syntax of release
The command ID to be released is the command ID used for the set of buffers identified by nnnn.
The user may release the command ID from all of the above functions or from just one of the functions.
FORMAT releases the command ID from the internal format buffer.
SEQ releases the command ID from the sequential reads table. It is used when stopping a sequential read before the end of file. Note that Adabas Pre-Compiler automatically releases the command ID when the FIRST parameter is specified on sequential reads, therefore, the user need not be concerned with it.
LIST releases the command ID from the ISN list table. The use of this option is recommended when a @FIND command is issued and the user does not read all the records found (until the E0Fnnnn indication). Note that Adabas Pre-Compiler automatically releases the command ID when the RELEASE clause is specified in the @FIND command. Therefore, the user need not be concerned with it.
There is also an option to release all the command IDs used by the program. This may be done by issuing @RELEASEOPN. This option is usually needed in online transactions when the terminal remains open but different transactions are invoked. In this case, Adabas recognizes the terminal ID as the user and there is no @CLOSE command in every transaction, so @RELEASEOPN is recommended to be used.