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

how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it

2 Answers  


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

2 Answers   Xansa,


explain sorting techniques in cobol program?

0 Answers  


I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that perticular record got abend?

3 Answers   IBM,


What is the difference between static call & Dynamic call?

2 Answers   CSC, TCS,


Why would you use find and get rather than to obtain?

0 Answers  


How many maximum number of procedures can we write in one COBOL program?

6 Answers  


I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.

10 Answers   Mascon,


Did anybody attend the walkin of TCS on 31st July in Gurgaon for any technology,If u have completed 3 round i.e till the HR round,have u received the Offer letter yet? Please let me know.Thanks.

1 Answers  


How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  


how to display the dataset information?

2 Answers  


How arrays can be defined in COBOL?

0 Answers  


Categories