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
How do I import a csv file into db2?
what is db2 restart?
What is db2 purescale?
How to compare data between two tables in db2?
What is the difference between dbm cfg and db cfg file in db2 ?
What language is db2 written in?
What are union and union all?
What is runstats db2?
What is the picture clause of null indicator variable?
How will you return the number of records in table?
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
How do you find the maximum value in a column in db2?
Mention the length of physical storage of the given data types of db2 – date, timestamp, time
How to rename a table in DB2 ?
what is the responsibility of the construction superintendent