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

Explain the configuration section of a cobol program with examples of syntax.

645


how do you reference the fixed unblock file formats from cobol programs

697


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2091


how to access the file from prodution from changeman tool and to submit a file to production

6658


What are the different rules for performing sort operation?

749






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

622


What the difference is between continue and next sentence?

647


Write the code implementing the perform … varying.

633


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1860


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

690


Can we change the password using ALTER? anyone tried and changed?

1533


Explain what you understand by passing by value.

685


Explain about different table spaces.

635


What is the difference between perform … with test after and perform … with test before?

862


What are the different data types in cobol?

776