Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is host variable?

1112


How to test SQL -911 error while developing COB-DB2 program

7671


What is the clustering index in the db2 database?

1047


How do you find the maximum value in a column in db2?

1154


How can you classify the locks in db2?

1132


What action db2 takes when a program aborts in the middle of a transaction?

1196


What is the use of dclgen in db2?

1135


What is the advantage in De-normalizing tables in DB2?

1234


What types of tables are there in the db2 database?

1101


What is host variable in db2 cobol?

1136


Explain various types of locks in db2?

1207


What is buffer pool and list some of them?

1095


Highlight all the advantages that are attached to a package.

1169


What is the difference between nvl and coalesce?

1107


How do I change the column size in db2?

1207