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 |
How do you eliminate duplicate values in db2?
Explain package in db2 and its advantages?
What are the disadvantages of using VARCHAR?
Is the primary key a clustered index?
What is db2 optimizer?
Consider that a package is bound into 2 different collections and the PKLIST option specifies both the collections. If the collection id is not specified in the program while executing the SQL query, then when the DB2 system will search the package list, which collection will it pick up or will it give an error/abend?
What is a lock?
when we are trying to update db2 rows. if the program abends . how we will know that the last successful update row was
Update command
When is the results table for the query in a DECLARE CURSOR statement created?
What is usage pointer in cobol?
What is the connection string to connect to the DB2 Database ?