How will 128 be saved in s9 (3) comp-3
How will 12 be saved in s9 (2) comp
Answer Posted / sriram
for comp-3 will store data in packed decimal format
s9(3)comp-3
0.5+1.5=2 bytes,
for 128 it will store c128 or f128.
for comp will store data in binary format
s9(2) will occupy 2 bytes
for 12 it will store binary format i.e 12=1100
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are different data types in cobol?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is amode(24)?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
what are decleratives in cobol?
What is rmode(any) ?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Are you comfortable in cobol or jcl?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the rules of the move verb?
How do you differentiate between cobol and cobol-ii?