Can SQL statements/queries be included in a copybook?
Answer Posted / tom
Yes, if the copybook is included with the precompiler
directive EXEC SQL INCLUDE. No, if one attempts to include
the copybook with a COBOL COPY directive.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
How many databases can be created inside an instance in db2 ?
What is concurrency?
How do you eliminate duplicate values in db2?
Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....
Why select is not preferred in embedded sql programs?
Which are the db2 tools to protect integrity of the database?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
How to find primary key of a table in db2?
How do you select a row using indexes in db2?
What is bind in db2?
How can we retrieve the total number of records in RPG & CLLE?
What is a cursor in programming?
What is schema in db2?
What does runstats do in db2?