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


comp-3 field occupy?

Answers were Sorted based on User's Feedback



comp-3 field occupy?..

Answer / anil prajapati

it will occupy maximum s9(18) comp-3 i.e. 10 bytes

Is This Answer Correct ?    6 Yes 0 No

comp-3 field occupy?..

Answer / ajith

for pic s9(n) comp-3,

it will occupy (n+1)/2 bytes

Is This Answer Correct ?    5 Yes 2 No

comp-3 field occupy?..

Answer / ganesh

It will store INT ((n/2)+1) bytes for PIC S9(n) COMP_3;

Is This Answer Correct ?    3 Yes 1 No

comp-3 field occupy?..

Answer / swamy

Comp-3 fields occupy (n+1)/2 spaces , 1 being the sign

eg: Pic S9(7) COMP-3. Byte size = (7+1)/2 = 4
Pic S9(5)V99 COMP-3. Byte size = (5+2+1)/2 = 4

Is This Answer Correct ?    2 Yes 0 No

comp-3 field occupy?..

Answer / krishna

COMP-3 is hexa-decimal reprasention .the best at lower
boundaries.
If it have size is even it takes (n/2) bytes.
If it have size is odd it takes (n+1/2) bytes.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More COBOL Interview Questions

Consider the following COBOL entries 05 X PIC 99 VALUE 10. ADD 40 X TO X. COMPUTE X = 3 * X - 40. The result in X is

12 Answers   TCS,


What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,


Explain about different table spaces.

0 Answers  


Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?

14 Answers   Accenture, TCS,


What is the difference between write & move in COBOL?

3 Answers   CSC, HHB,


What divisions, sections and paragraphs are mandatory for a COBOL program?

8 Answers   Arigo Infotech,


can we use 77 level no for Redefines?if we use give an example?

3 Answers   Mphasis,


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

0 Answers  


what are the isolation levels and where we use it in the db2 program

3 Answers   TCS,


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

0 Answers  


What is the difference between comp and comp-3 usage?

0 Answers  


I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?

1 Answers   CTS,


Categories