I know my query will return more than one row but I don't want cursor what should I do?
Answer Posted / secret service
Add FETCH FIRST 1 ROW ONLY to your query.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the usage of comp fields in cobol?
What is the difference between Global and External Variables?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Write a program to explain size error.
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is a report item?
When is inspect verb is used in cobol?
Explain what you understand by passing by value.
How do define dynamic array in cobol.
What is static and dynamic call in cobol?
Write some characteristics of cobol as means of business language.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
HOw can I get the negative sign while deduct high value from low value
What is the difference between comp and comp-3?