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?

Answers were Sorted based on User's Feedback



What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?..

Answer / islam

date pic x(10)
time pic x(08)
timestamp pic x(26)

Is This Answer Correct ?    40 Yes 3 No

What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?..

Answer / kalyani

DATE PIC X(10)
TIME PIC X(8)
TIMESTAMP PIC X(26)

Is This Answer Correct ?    23 Yes 2 No

What is the COBOL picture clause of the following DB2 data types: DATE, TIME, TIMESTAMP?..

Answer / 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

More DB2 Interview Questions

A Table feild is declared as Decimal(7,2). I want to insert the decimal in to this column thru cobol-db2 program. How should I declare my local input file variable or any suggestion?

7 Answers   IBM,


What is the cobol picture clause of the db2 data types date, time, timestamp?

0 Answers  


What is a precompiler?

2 Answers  


Mention the downsides of page level lock.

0 Answers  


For update of a row in cursors, when do we move value into host variable in cobol progrm? is it before open or before fetch ?

2 Answers   iGate,


What is commit in db2?

0 Answers  


How do I copy a table in db2?

0 Answers  


What is rct?

0 Answers  


what is the certification that has a good value for a practioner in mainframes but not habving much knowledge on db2 related stuff?

2 Answers  


How many sub queries can you combine together ?

4 Answers   IBM,


What is multi row fetch in db2?

0 Answers  


Explain the benefits you can get from mainframe connect?

0 Answers  


Categories