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

Explain the contents that are a part of dclgen.

651


What os does db2 run on?

566


What is bind plan?

602


What is dclgen (declaration generator)?

593


Explain in brief how does db2 determine what lock-size to use?

588






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?

2042


What is the function of logging in the db2 database?

636


What language is db2 written in?

591


How is a typical db2 batch pgm executed?

634


What is a cursor in programming?

587


Differentiate between cs and rr isolation levels? Where do you specify them?

571


My sql statement select avg(salary) from emp yields inaccurate results. Why?

637


How does a cursor work?

553


What is the clustering index in the db2 database?

578


Which isolation level provides maximum concurrency?

656