what is the difference between Normal vaiable and comp
variable.
Answer Posted / naveen kumar.s
The value assigned to comp variable is stored in binary
format.The memeory allocation is also different.
For example,
77 A pic 9(8).
77 B Pic 9(8) comp.
Here,'A' occupies 8 bytes.whereas,'B' occupies 4 bytes only.
No.of Digits Bytes occupied
1-5 2
5-11 4
12-18 8
Is This Answer Correct ? | 9 Yes | 17 No |
Post New Answer View All Answers
Why occurs cannot be used in 01 level in COBOL?
Explain how you can characterize tables in cobol?
What is the Purpose of Pointer in the string?
What kind of error is trapped by on size error option?
Can you please let me know the centre name of INS certification in Kolkata.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Write a program that uses move corresponding.
What is link edit in cobol?
i need a small 3d program using inline and outline.
What are various search techniques in cobol? Explain.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What is Pic 9v99 Indicates in COBOL?
What do you understand by psb and acb?
What are literals?
I have a File that has duplicate records. I need only those records that occur more than thrice.?