what is the difference between Normal vaiable and comp
variable.
Answer Posted / suman agrawal
Using comp, the value will be stored in binary format.
The allocation in number of bytes is based on the number of
digit the variable use:
No. of digits Bytes
1-4 2 bytes
5-9 4 bytes
10-18 8 bytes
Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
how do you reference the rrds file formats from cobol programs
Explain about different table spaces.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
How do we get current date from system with century in COBOL?
Difference between cobol and cobol-ii?
What are the cobol coding sheets?
What is comp-1 and comp-2?
What is amode(24)?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the difference between structured cobol programming and object alternativelyiented cobol?
In COBOL programming, what is PERFORM? What is VARYING?
What guidelines should be followed to write a structured cobol prgm?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What the difference is between continue and next sentence?