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
What is cursor stability in db2?
What do you mean by cursor?
What is the usage of open cursor command?
How to find primary key of a table in db2?
Differentiate between cs and rr isolation levels? Where do you specify them?
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 are the contents of a dclmgen?
What is db2 instance?
How can the duplicate values be eliminated from db2 select?
What kind of database is db2?
what are bind concepts in db2 cobol?
What is difference between isnull and coalesce?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What is concurrency?
My sql statement select avg(salary) from emp yields inaccurate results. Why?