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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

678


How do you reference the following file formats from cobol programs?

696


What are all the divisions of a COBOL program?

666


Define static linking and dynamic linking.

669


What is a SSRANGE and NOSSRANGE?

824






how do you reference the variable block file formats from cobol programs

688


how can i see junk values in dclgen or in hostvariable of comp ?

2546


How to know whether the module is dynamical or statistical?

656


how to move the records from file to array table. give with code example

2221


What rules are followed by the search verb.

638


Describe the cobol database components?

682


What is static and dynamic call in cobol?

599


Why occurs cannot be used in 01 level in COBOL?

719


What are the different rules to perform a Search?

619


explain sorting techniques in cobol program?

692