The CLOSE statement closes a cursor. It is important to close a cursor to release resources.
LSQL CLOSE cursorname
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 that is named CURSTAT, issue this LSQL command from a CLIST:
LSQL CLOSE CURSTAT
Copyright © 2014 CA Technologies.
All rights reserved.
|
|