what happens if we dont close cursor in db2-cobol pgm?

Answer Posted / karthic

If the cursor has not been closed, the cursor will occupy
the whole private SQL work area. The next query performance
will be affected.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

934


What is difference between static and dynamic call in cobol?

779


How to print 10 to 1 if the input have only 10 digit number?

813


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065


how do you reference the variable block file formats from cobol programs

688






Can a Search can be done on a table with or without Index?

806


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5695


What kind of error is trapped by on size error option?

743


In COBOL programming, what is PERFORM? What is VARYING?

672


What is link edit in cobol?

774


What rules are to be followed while using the corresponding options?

641


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1931


What type of SDLC u followed? Why?

1522


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

678


Write down the divisions of cobol program?

671