What is the COBOL picture clause of the following DB2 data
types: DATE, TIME, TIMESTAMP?
Answer Posted / kkings
DATE • Represented as a sequence of eight unsigned
packed decimal digits (yyyymmdd), occupying four bytes.
• Range 00010101 to 99991231 A.D.
TIME • Represented as a sequence of six unsigned
packed decimal digits (hhmmss), occupying three bytes.
• Range 000000 to 240000.
TIME STAMP • Is a combination of date and time,
accurate to the nearest microsecond.
• Represented as a sequence of 20 unsigned packed
decimal digits (yyyymmddhhmmssnnnnnn), occupying ten bytes.
• Range 00010101000000000000 to 99991231240000000000.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the bind parameters ibm db2?
What is reorg?
How do you find the maximum value in a column in db2?
What is buffer pool?
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.
What is the use of db2 optimizer?
What is table space in db2?
What is the function of logging in the db2 database?
What is copy pending status in db2?
What is sqlca?
What does db2 plan contain?
How is deadlock resolved?
How do I delete a column in db2?
What are bind parameters in db2?
Mention the definition of cobol in varchar field.