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 |
What does db2 blu stand for?
What is the use of reorg in db2?
wht displays the number of times a query modified ?
I have a table name Table1 which contain columns Cust_no, car_model, country, salesamt. The records are 101, Fiat, India, 12345 2nd record is 102, Tata, USA, 98743 3rd record is 101, indica, India, 65342 4th record is 103, Toyota, UK, 64522 5th record is 103, Maruti, USA, 98632 and so on..... Now my question is write sql query which will give me detail about the sum of sales amount in perticular country
What is difference between *omit and *nopass?
What is the maximum length of a column name in DB2? 18 or 30 or anything other than these?
Are views updatable ?
List out the data types available.
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?
Explain transactions, commits and rollbacks in DB2.
What happens in bind step in a db2 program?