Hi Team,

Please tell me, If i don't declare the cursor in the program
and i have given open and fetch and close, then what error
will get.

Answer Posted / rajiv

It will give you a compile error saying CURSOR WAS NOT DECLARED.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Comment whether the cursor is closed during commit or not.

662


What is db2? Explain.

599


What is null indicator in cobol db2?

576


Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.

2316


What is db2 and what is the use of db2 optimizer?

645






How do we specify index to include or not during bind process.

1670


Why do we need reorg in db2?

555


Which command is used to remove all rows from a table?

546


What is the usage of open cursor command?

596


What is cobol db2?

562


What is with ur in db2?

744


What are foreign keys in db2?

608


What is db2 plan table?

611


Where can you declare a cursor in a cobol-db2 program?

598


Define sqlca.

645