DB2 Cursor Declaration

The Cursor can be Declared in
Working storage section
Linkage section
Input-Output section.
Working storage section

Questions by radibioinfo   answers by radibioinfo

Showing Answers 1 - 21 of 21 Answers

Cursor Declaration can be done either in WORKING STORAGE SECTION in DATA DIVISION or in PROCEDURE DIVISION, the only rule is that it has to be coded before the OPEN CURSOR statement in the Procedure Division.

  Was this answer useful?  Yes

PRACHI PATANKAR

  • Jun 22nd, 2014
 

Working storage section

  Was this answer useful?  Yes

NEHA MISHRA

  • Nov 2nd, 2014
 

cursor can be only used in WORKING-STORAGE SECTION.

  Was this answer useful?  Yes

Anandakumar Raju

  • Apr 28th, 2016
 

Cursor can be declared either working storage section or procedure division. It should be declared before open cursor statement if we are declaring in procedure division.

  Was this answer useful?  Yes

Sid

  • May 6th, 2016
 

It can be declared either in working storage section or in procedure division.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions