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

What is a db2 package?

787


What is the syntax for creating a table in the db2 database?

856


Mention the location where the output received from explain statement is stored.

853


Is the primary key a clustered index?

834


What is the meaning concurrency in the db2 database?

847


What do you mean by cursor?

778


How to find the maximum value in a column in the db2 database?

818


What is runstats db2?

770


What is a system catalog table in db2?

832


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

1968


Is ibm db2 open source?

813


What are the full forms of spufi and dclgen and why are they used?

846


Where can you declare a cursor in a cobol-db2 program?

777


How to find primary key of a table in db2?

814


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?

2286