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


s9(18) comp-3:: What is the size of memory it takes
internally?

Answers were Sorted based on User's Feedback



s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / shaan

Answer would be 18+1/2=9.5 rounded to 10 bytes.

Is This Answer Correct ?    20 Yes 2 No

s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / vijay

IT TAKES ONLY 10 BYTES

(18/2)+0.5+0.5=10 BYTES

Is This Answer Correct ?    5 Yes 0 No

s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / shaan

Well since comp-3 items are packed decimal items,2 digits
will be stored in each byte and the last nibble(4 bits) will
contain the sign.

Is This Answer Correct ?    4 Yes 1 No

s9(18) comp-3:: What is the size of memory it takes internally? ..

Answer / vinodquestion

Thanks shaan, And what is for sigh decimal numbers
representation for same comp 3? i.e internal representation
of signed decimal number

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

what is dynamic array in cobol? what is the difference b/w array and table in cobol?

2 Answers  


what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?

2 Answers   IBM, Wipro,


BY seeing a program how can we say that it is static call or dynamic call

5 Answers   CGI,


How to retain the Duplicates in the one records?

3 Answers   CS,


How can we know that cobol program is using report file or simple file....?

4 Answers  


How do pass the values to the parameters in cobol

2 Answers  


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


How do you define a variable of comp-1 and comp-2?

0 Answers  


01 a pic s9(5) occupies how many bytes ?

9 Answers   Wipro,


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


What is the difference between a subscript and an index in a table definition?

3 Answers   TCS,


Can JUSTIFIED be used for all the data types?

3 Answers  


Categories