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
What is a db2 package?
What is the syntax for creating a table in the db2 database?
Mention the location where the output received from explain statement is stored.
Is the primary key a clustered index?
What is the meaning concurrency in the db2 database?
What do you mean by cursor?
How to find the maximum value in a column in the db2 database?
What is runstats db2?
What is a system catalog table in db2?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
Is ibm db2 open source?
What are the full forms of spufi and dclgen and why are they used?
Where can you declare a cursor in a cobol-db2 program?
How to find primary key of a table in db2?
i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?