The CLOSE statement closes a cursor. It is important to close a cursor to release resources.
LSQL CLOSE cursorname
|
Operand |
Explanation |
|---|---|
|
cursorname |
The name of the cursor you are closing. |
Note: The LSQL command that executes the CLOSE statement must be issued from a CLIST or from a REXX procedure.
Example
To close the cursor named CURSTAT, issue this LSQL command from a CLIST:
LSQL CLOSE CURSTAT
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |