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?

Answer Posted / sumanth toom

hmmm..depends how you want to use that variable.
9(5).99 is an edited field. Probably used for printing or
reporting purposes.

Otherewise, 9(5)V99 can be used.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is ibm db2 free?

664


What are the prerogatives?

701


What is an instance in db2?

646


List down the data types in the db2 database.

716


What is dpf in db2?

750






Describe major components of db2?

739


What is schema in db2?

665


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

725


What is the result of open cursor statement?

711


How can deadlocks be resolved?

625


What is a system catalog table in db2?

681


When the like statement is used?

725


What's The Error Code For Unique Index Voilation?

730


How do you pull up a query which was previously saved in qmf?

775


Is schema the same as database?

717