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 can you find out the # of rows updated after an update statement?
How to test SQL -911 error while developing COB-DB2 program
Can there be more than one cursor open for any program?
Which components manage deadlocks in db2?
What kind of database is db2?
Explain packages.
What is multi row fetch in db2?
What is a cursor in programming?
Mention the location where the output received from explain statement is stored.
What is the physical storage length of the data types date, time, and timestamp?
Explain in detail about buffer manager and its functionalities?
List down the types of triggers in the db2 database?
How to create backup table in db2?
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?
DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?