Why we should use cursor ?

Answer Posted / manhem

To fetch more than one row from DB2 table, Cursor is used

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you reference the fixed block file formats from cobol programs

705


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2008


Why did you choose to work with ibm mainframe cobol programming?

631


i want a program using by if, evaluate , string, unstring, perform, occurs?

4057


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

676






When is inspect verb is used in cobol?

675


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


What is the difference between binary search and sequential search?

641


What is inspect in cobol ?

801


What are the rules of the move verb?

706


What are literals?

632


What is the compute verb? How is it used?

659


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

932


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

679


Define static linking and dynamic linking.

669