In which column of which DB2 catalog would you find the
length of the rows for all tables?
Answer Posted / vat
'RECLENGTH' column of SYSIBM.SYSTABLES would have the
record/row length of the table.
It's format: 8 + n + l where
8 accounts for 6 header bytes and 2 ID map entry bytes
n = 0 if there is no edit proc otherwise 10
l = Sum of max. col lengths (Add 1 byte for Null indicator
for nullable columns, 2 bytes for Varchar columns, 4 bytes
for LOB column)
and, RECLENGTH is 0 for auxilary tables, views and aliases
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between spufi and qmf?
have 3 tables table1, table2 and table3 which contains employee information. table1 is master table, table2 contains emp details like emp no and so on, table 3 contains emp salary. so if any emp leave company between 25th - 30th of every month it has to get updated in tables. but it is not getting updated. What is the reason.
How many types of page locks can be held in db2?
What's The Error Code For Unique Index Voilation?
What action db2 takes when a program aborts in the middle of a transaction?
What r the comman abends in db2, jcl and cobol???????
What is collection in db2 bind?
Define data page.
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
What is cursor stability in db2?
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
Can you use max on a char column?
What is the cobol picture clause of the db2 data types date, time, timestamp?
What is ibm db2 database?
How do I create a view in db2?