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...

what is the use of comp2 ? where can we use it with example ?

Answer Posted / smartboy

COMP-2 has double precision. Generally used in scientific
data calculations.

USAGE COMP-2 EXAMPLE.
A very simple practical example can be
If DB2 decleration of column is DOUBLE then we have to use
corresponding COBOL host variable as COMP-2
For float data type use COMP-1

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens if parmparameter passes zero bytes to the program

2084


Can you please let me know the centre name of INS certification in Kolkata.

2181


What is amode(24)?

1187


Can we change the password using ALTER? anyone tried and changed?

1952


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2015


Describe the cobol database components?

1126


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5318


What are the rules of the move verb?

1195


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2081


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5764


Write a program to enter and display the names of students in a class using the occurs clause.

1157


what are decleratives in cobol?

2211


What rules are followed by the search verb.

1051


how do you reference the variable block file formats from cobol programs

1185


What are the different open modes available in cobol?

1146