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


which one is the best of com and com-3.using of real time ?

Answers were Sorted based on User's Feedback



which one is the best of com and com-3.using of real time ?..

Answer / paray2x

Dear Friends,

I'm sorry about my previous answer. COMP-3 is always
efficient.

when COBOL uses COMP, it tries to align fields along
boundaries which is less efficient in retrieval and
computation.

Is This Answer Correct ?    10 Yes 2 No

which one is the best of com and com-3.using of real time ?..

Answer / praveen

when ever the data size is at higher boundries comp is best.
when ever the data size is at lower boundries comp-3 is
best.
lower boundries higher boundries
s9(01) s9(04) 2 bytes
s9(05) s9(09) 4bytes
s9(10) s9(18) 8bytes

Is This Answer Correct ?    3 Yes 0 No

which one is the best of com and com-3.using of real time ?..

Answer / jagan

Parry , While using COMP , the data can be retrieved
quicly , that is the advantage os storing data along word
boundaries .

Is This Answer Correct ?    1 Yes 0 No

which one is the best of com and com-3.using of real time ?..

Answer / praveen

for comp3 the caluclation of memory goes
for the datasize is even we go for formula n/2.
for the datasize is odd we go for formula n+1/2.
ex; s9(5) means 5 is odd 5+1/2=6/2=3
it takes 3 bytes of memory.
for comp s9(9) it takes 4 bytes of memory.
so here depending on the datasize we can say the
best.
so in above ex; we say comp3 is best because there is a
supression of memory i.e 3bytes compared to comp 4 bytes .

Is This Answer Correct ?    2 Yes 1 No

which one is the best of com and com-3.using of real time ?..

Answer / paray2x

In terms of Storage, it will be comp-3 and for Arithmetic
computations, it will be comp

Is This Answer Correct ?    3 Yes 3 No

which one is the best of com and com-3.using of real time ?..

Answer / anuhya

comp3 is best for higher boundaries
comp is best for lower boundaries

Is This Answer Correct ?    0 Yes 0 No

which one is the best of com and com-3.using of real time ?..

Answer / pk

what is this higher boundaries and lower boundaries. please
explain

thanks

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division

1 Answers  


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

0 Answers  


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


Write a program to enter and display the names of students in a class using the occurs clause.

0 Answers  


can we read records in a file from botom to top. if possible how can we read

12 Answers   ACS,


can any one give good example for cond 88 level number and for renames pls urgent dudes ?

3 Answers   DELL,


If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.

2 Answers  


plz any one tell clearly the justify right clause?

1 Answers  


Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?

4 Answers  


What is file status 39 ?

10 Answers   JPMorgan Chase,


What is a SSRANGE and NOSSRANGE?

0 Answers  


i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.

9 Answers   Syntel,


Categories