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
How do define dynamic array in cobol.
) how do u code after getting data?
What are the different types of condition in cobol and write their forms.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the difference between goback, stop run and exit program in cobol?
When is inspect verb is used in cobol?
how do you reference the variable unblock file formats from cobol programs
Differentiate between structured cobol programming and object-oriented cobol programming.
how to refer the data field?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Write some characteristics of cobol as means of business language.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
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?