what is the difference between Normal vaiable and comp
variable.
Answer Posted / garry
I am not sure about previous explanation, however before that all explanations are valid.
One thing should be clear in our mind that COMP usage is good but it can not be displayed simply, it will store in binary format, so we need to convert it in to ZD, if displaying in SYSOUT or writing to a file.
Please let me know if I am wrong.
Thanks
Garry
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the difference between PIC 9.99 and 9v99 in COBOL?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is the local-storage section?
What is link edit in cobol?
What is a scope terminator give example?
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 are various search techniques in cobol? Explain.
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 are decleratives in cobol?
Mention the guidelines to write a structured cobol program?
What type of SDLC u followed? Why?
What is a SSRANGE and NOSSRANGE?
What is the usage of comp fields in cobol?
Write a program to explain size error.
how do you define single dimensional array and multidimensional array in your cobol?