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 LINKAGE SECTION used in COBOL?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is static and dynamic call in cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Which division and paragraphs are mandatory for a COBOL program?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What guidelines should be followed to write a structured cobol prgm?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Which Search verb is equivalent to PERFORM…VARYING?
Can we redefine the field of x(200) to less than 200?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What kind of error is trapped by on size error option?
Why occurs cannot be used in 01 level in COBOL?