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

Explain what you understand by passing by value.

806


What are the rules of the move verb?

813


how to convert the recors form vsam file to db2 table tru file aid

2853


Explain how you can characterize tables in cobol?

730


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

752






What is the compute verb? How is it used?

749


What are the pertinent COBOL

2125


) what is the difference between AID and HANDLE AID?

1742


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

720


) how do u code after getting data?

1657


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?

806


how to access the file from prodution from changeman tool and to submit a file to production

6887


What is the difference between next sentence and continue in cobol programing language?

823


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

769


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5496