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 / prabhakar
u can declare in application program(cobol)
01 dec pic 9(5).9(2). is equal to dec(7,2)
| Is This Answer Correct ? | 11 Yes | 5 No |
Post New Answer View All Answers
How do I add a column in db2?
How to take backup of table in db2?
What is cascading rollback?
Why do we use cursor?
If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?
How can you count the number of rows from a table tab?
Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and package will be created for both A and B or only B? What is the concept?
Can you use max on a char column?
What is drop table?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
List out the data types available.
What is a storage group (stogroup)?
What is rebind in db2?
is it compulsory commitment control in journal?
What is data manager?