I have a Main Program which is calling Sub-Program which is
a DB2 pgm. What will happen if I am not closing the cursor
used in the Sub-program? Please advise..
Answer Posted / swati
If Sub-Program executtion is terminated,cursor is
automatically closed.
| Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
How to know whether the module is dynamical or statistical?
A table has two indexes defined. Which one will be used by the SEARCH?
what is amode(24), amode(31), rmode(24) and rmode(any)?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
Write down the divisions of cobol program?
What is the usage of comp fields in cobol?
what is search and searchall?what is the diffrence between them?give an best example?
Whats the difference between search & search ALL?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Which division and paragraphs are mandatory for a COBOL program?
How do you define a variable of comp-1 and comp-2?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Describe the cobol database components?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?