Answer Posted / smartboy
SELECT is SQL query to retrive rows from table in
relational database.
The COBOL program uses the embedded SQL, In order to
process multiple rows in cobol program CURSOR is used.
CURSOR is basically a contolled structure/ mechanisum by
which we can process the multiple data rows in host
language program.
If you observe the syntax of CURSOR it uses the SELECT
query inside it.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how do you reference the variable block file formats from cobol programs
What is report-item in COBOL?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What do you understand by psb and acb?
What is the difference between perform … with test after and perform … with test before?
) how do u code after getting data?
What is the difference between PIC 9.99 and PIC9v99?
How are the next sentence and continue different from each other?
What are the different open modes available in cobol?
Which is not true about evaluate statement
Describe the cobol database components?
Write a program to enter and display the names of students in a class using the occurs clause.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What are all the divisions of a COBOL program?