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


Please Help Members By Posting Answers For Below Questions

Who uses db2?

578


Explain about cursor stability?

627


For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.

662


What kind of database is db2?

576


Mention the downsides of page level lock.

713






How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

1711


How to find the number of rows in a db2 table?

645


Before you give the explain statement, what are the prerogatives?

581


What is dbrm?

645


Explain about mirror activator disk mirroring?

562


What is isolation level in db2?

579


Give a brief description of db2 isolation levels?

605


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

1599


What are db2 tables?

649


How do I optimize a query in db2?

624