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

hello, nitin...
try this one s9(7-2)v9(2)comp-3
this is similor to s9(x-y)v9(y) comp-3



with best regards,
baalu.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I import a csv file into db2?

554


what is db2 restart?

1684


What is db2 purescale?

538


How to compare data between two tables in db2?

654


What is the difference between dbm cfg and db cfg file in db2 ?

997






What language is db2 written in?

591


What are union and union all?

532


What is runstats db2?

576


What is the picture clause of null indicator variable?

685


How will you return the number of records in table?

510


When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

3112


How do you find the maximum value in a column in db2?

643


Mention the length of physical storage of the given data types of db2 – date, timestamp, time

578


How to rename a table in DB2 ?

629


what is the responsibility of the construction superintendent

1654