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
Explain the contents that are a part of dclgen.
What os does db2 run on?
What is bind plan?
What is dclgen (declaration generator)?
Explain in brief how does db2 determine what lock-size to use?
i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?
What is the function of logging in the db2 database?
What language is db2 written in?
How is a typical db2 batch pgm executed?
What is a cursor in programming?
Differentiate between cs and rr isolation levels? Where do you specify them?
My sql statement select avg(salary) from emp yields inaccurate results. Why?
How does a cursor work?
What is the clustering index in the db2 database?
Which isolation level provides maximum concurrency?