what is the diff b/w select stsmt and cursor ?

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


Please Help Members By Posting Answers For Below Questions

how do you reference the fixed unblock file formats from cobol programs

712


Difference between array and sub-script ?

1164


How do u write test cases?

1635


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

648


What is the utilization of copybook in cobol?

657






Why is it necessary that file needs to be opened in I-O mode for REWRITE?

748


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8652


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

855


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


what is difference between cobol and cobol/400

21562


What is length is cobol?

650


What is the difference between comp and comp-3?

698


what is amode(24), amode(31), rmode(24) and rmode(any)?

699


What is rmode(24)

678


What is Pic 9v99 Indicates in COBOL?

726