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

Name the divisions, which are available in a cobol program?

1235


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1215


Can we redefine the field of x(200) to less than 200?

1377


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9893


how do you reference the esds vsam file formats from cobol programs

1216


What is link edit in cobol?

1199


what is search and searchall?what is the diffrence between them?give an best example?

6833


What is perform what is varying?

1177


What is a SSRANGE and NOSSRANGE?

1471


What is report-item in COBOL?

1156


Differentiate between structured cobol programming and object-oriented cobol programming.

1156


what is difference between cobol and cobol/400

22929


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

2227


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2550


How do get the result of your program directly on your pc?

2348