How will 128 be saved in s9 (3) comp-3
How will 12 be saved in s9 (2) comp
Answer Posted / kavithachandrashekar
comp-3 is stored as (n+1)/2 where n is number of digits.Since here n is 3 for numeric 128,(3+1)/2=2 bytes.
12 8C here c represents positive(D for negative)
Comp is stored as n/2,where n is number of digits.Since n is 2 for numeric 12,(2)/2=1 byte(1/2 word)
12 is saved as 12.
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
What is the difference between goback, stop run and exit program in cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is the compute verb? How is it used?
How you can characterize tables in cobol?
Explain how you can characterize tables in cobol?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
) how do u code after getting data?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Which Search verb is equivalent to PERFORM…VARYING?
How do you differentiate between cobol and cobol-ii?
What are different data types in cobol?
What is perform what is varying?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?