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 / rajesh
u can declare in application program(cobol)
01 dec pic 9(5)v9(2) comp-3. is equal to dec(7,2)
| Is This Answer Correct ? | 16 Yes | 4 No |
Post New Answer View All Answers
What is meant by dclgen?
What is db2 look?
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
How to create backup table in db2?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
What is image copy in db2?
What is meant by union and union all?
What is lock escalation in db2?
What is db2 command?
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?
How do you concatenate the firstname and lastname from emp table to give a complete name?
Is db2 a mainframe database?
Is ibm db2 free?
How can you classify the locks in db2?
Define declaration generator (dclgen).