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


define comp?

Answers were Sorted based on User's Feedback



define comp?..

Answer / syam

"COMP" in Cobol = Binary storage format(if -ve bit is ON,
if +ve bit is OFF)
COMP-1 = Single precision floating point. Uses 4 bytes.
COMP-2 = Double precision floating point. Uses 8 bytes.
COMP-3 = packed decimal format. Uses 4 bytes.


Example 01 WS-VAR USAGE COMP-1.

Is This Answer Correct ?    3 Yes 0 No

define comp?..

Answer / syam

COMP = Compare in RPG, to compare two fields value.

AA = 01
BB = 02


C AA COMP 01 99 (found)
C BB COMP AA 99 (not found)

99 = on not found
99 = off found



Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL400 Interview Questions

Trying to help a friend... How do you code screen I/O without a DDS? I know it can be done, because for a short time, I worked for a company that did it. It was just too long ago for me to remember what was involved.

1 Answers  


How we can update data area in cobol 400 program?

12 Answers   Accenture,


Explain how to update data area in cobol 400 program?

0 Answers  


what is INPUT PROCEDURE and OUTPUT PROCEDURE?

2 Answers  


write a cobol program to display prime numbers between 1 to 100?

5 Answers   Cap Gemini, NISA,


What is sort?

0 Answers  


Can we open close file in COBOL any number of times?

2 Answers   Kanbay,


Define perform? And its types?

0 Answers  


How we create file in COBAL400

1 Answers  


how array can be declare in cobol?

6 Answers  


seqence numbers in cobol

0 Answers   TCS,


i have two programs 1.cobol program 2.copy book program can i move bouth program in to the production or single single program?

1 Answers   UHG,


Categories