The OPEN statement opens a cursor. When the OPEN statement is issued, the select criteria for the cursor (specified with the DECLARE CURSOR statement) is immediately executed.
LSQL OPEN cursorname
|
Operand |
Explanation |
|---|---|
|
cursorname |
The name of the cursor you are initiating (previously defined using the DECLARE CURSOR statement). |
Note: The LSQL command that executes the OPEN statement must be issued from a CLIST or from a REXX procedure.
Example
To open the cursor named STATDOWN, issue this LSQL command from a CLIST:
LSQL OPEN STATDOWN
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |