How You Can Declare a Cursor
Before you can open a cursor, you must create the CursorObject object for the new cursor by declaring a global or local reference variable of type CursorObject. The syntax is:
cursor_var_name = CursorObject
For example, the following code line declares a reference variable named cust_cursor that points to a cursor object:
cust_cursor = CursorObject;