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


Is it possible to mutliply a comp variable with an comp-3
variable. Will there be any error if i do it?

Answers were Sorted based on User's Feedback



Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i d..

Answer / vikas pujar

Yes. Comp and Comp-3 are used to store numeric values so
operation is valid.

Is This Answer Correct ?    15 Yes 1 No

Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i d..

Answer / lu

yes, but never do it, you always multiply COMP with COMP
and COMP-3 with COMP-3....when you want to display : move
COMP to pic 9 (extend field) and comp-3 to pic 9 (extend
field)

Is This Answer Correct ?    9 Yes 0 No

Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i d..

Answer / raja

It should give S0C7. Data Exception.

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More COBOL Interview Questions

How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.

1 Answers  


Should I use STOP RUN in the sub program??why?

6 Answers   Xansa,


SSRange is used to do a range check on which of the Following. SUBSCRIPT,INDEX,REFERENCE MODIFICATION,Run-time option.

3 Answers   Lehman Brothers,


i want to store 20 digits . h will u do it in cobol ?

4 Answers   TCS,


Why we are using comp and comp-3 in real time projects?

4 Answers   IBM,


What is an explicit scope terminator?

3 Answers  


what is the minimum number of lines a Cobol program should have to successfully compile and run

11 Answers   ABC, Societe Generale,


Can a Search can be done on a table with or without Index?

0 Answers  


What are subroutines ? and how do we pass data to the sub routines?

2 Answers   Xansa,


How to Write the RESTART Logic Using COBOL?

4 Answers   GalaxE, L&T, Syntel, TCS,


Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?

6 Answers   ABC, IBM, Mphasis, Wipro,


what is the difference between implicit and explicit scope terminator with example? 

1 Answers  


Categories