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 |
I have a DB2 table which has 1000 rows.after udatingg first 110 rows, my job abends. Now what I have to do if I want to restart the job next time so that it should start updating from 111th row (without updating first 110 rows again).
What are host variables in db2?
What is check constraint in db2?
What is data manager?
What is the use of dclgen in db2?
Can we use group-by clause in sub-query? If 'yes' means,Will it be executed successfully or else If 'no' means why should we not using that method? Give me your suggestion please....
What is db2 command?
What is the difference between Primary key and unique index?
What r the comman abends in db2, jcl and cobol???????
What should be specified along with a cursor in order to continue updating process after commit?
What is ACQUIRE/RELEASE in BIND?
What is cursor stability in db2?