View previous topic :: View next topic
|
Author |
Message |
udaymf Currently Banned New User
Joined: 09 Nov 2006 Posts: 2
|
|
|
|
how to declare a cursor in a cobol program. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
Back to top |
|
|
chiranth_hn
New User
Joined: 14 Jan 2006 Posts: 1 Location: Mysore
|
|
|
|
we can declare the cursor in procedure division or working storge division
EX
EXEC SQL
DECLARE CURSOR CUSORNAME WITH HOLD FOR
SELECT colums FROM TABLE
WHERE give the condition here
END-EXEC |
|
Back to top |
|
|
|