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
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What are the access modes of START statement?
how to refer the data field?
How you can characterize tables in cobol?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
i need a small 3d program using inline and outline.
What do you understand by psb and acb?
what is search and searchall?what is the diffrence between them?give an best example?
What is the difference between PIC 9.99 and PIC9v99?
Have you used comp and comp-3 in your project? And how?
What is comp-1 and comp-2?
What are the pertinent COBOL commands?
What is perform what is varying?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?