Can we declare DB2 HOST variable in COBOL COPY book?
Answers were Sorted based on User's Feedback
Answer / a.roselin
No, We cant declare it in Cobol copy book, why because,
Copy book is not expand during the precompilation, But if
you declare it in DCLGEN, it will be expanded during
precompilation.
Is This Answer Correct ? | 6 Yes | 8 No |
Answer / arup
the below code is working fine....
COPY DSBPRDDS.
DSBPRDDS is a DCLGEN.
Is This Answer Correct ? | 0 Yes | 2 No |
Who uses db2?
What are foreign keys in db2?
What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?
What is concurrency?
WHAT IS MEANT BY COMMIT COMMAND?
How do you run JCL in cobol program
What is copy book?
in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?
How do I change the column size in db2?
What is a correlated sub query?
what is db2 restart?
What kind of database is db2?