What is difference between com and com3? Eg. s9(4) so what
is the memory it will occupy com and com3.
Answer Posted / rekha
comp | comp-3
___________________________|__________________________________1>it
will store the data | it will store the data in PACKED in
BINARY FORMAT | DECIMAL FORMAT
2>s9(1)-s9(4) --> 2byts | s9(n)
s9(5)-s9(9) --> 4bytes | if n --> even occupies (n/2)+1b
s9(10-s9(18) -->8bytes | if n --> odd occupies (n+1)/2b
3> it will occupies the | it will occupy less memory
memory based on the range |
____________________________________________________________ex
- s9(4) occupies 2bytes for comp
s9(4) occupies 3bytes for comp-3
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Differentiate between structured cobol programming and object-oriented cobol programming.
what are decleratives in cobol?
Difference between cobol and cobol-ii?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the difference between external and global variables in COBOL?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Are you comfortable in cobol or jcl?
How do you reference the following file formats from cobol programs?
) how do u code after getting data?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is Pic 9v99 Indicates in COBOL?
What type of SDLC u followed? Why?
What are the different rules for performing sort operation?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?