Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is meant by dclgen?

1109


What is db2 look?

1023


In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?

1044


How to create backup table in db2?

1090


For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.

1106


What is image copy in db2?

1017


What is meant by union and union all?

1012


What is lock escalation in db2?

1031


What is db2 command?

1036


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?

8287


How do you concatenate the firstname and lastname from emp table to give a complete name?

1076


Is db2 a mainframe database?

1000


Is ibm db2 free?

1009


How can you classify the locks in db2?

1089


Define declaration generator (dclgen).

1114