define comp?
Answers were Sorted based on User's Feedback
Answer / syam
"COMP" in Cobol = Binary storage format(if -ve bit is ON,
if +ve bit is OFF)
COMP-1 = Single precision floating point. Uses 4 bytes.
COMP-2 = Double precision floating point. Uses 8 bytes.
COMP-3 = packed decimal format. Uses 4 bytes.
Example 01 WS-VAR USAGE COMP-1.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / syam
COMP = Compare in RPG, to compare two fields value.
AA = 01
BB = 02
C AA COMP 01 99 (found)
C BB COMP AA 99 (not found)
99 = on not found
99 = off found
| Is This Answer Correct ? | 0 Yes | 2 No |
What is the actual use of fillers?
Explain the types of perform?
Deleting a record from a Sequential file.
what is the cobol compiler?
It's possible use %TRIM statement like rpgile?
i have two programs 1.cobol program 2.copy book program can i move bouth program in to the production or single single program?
What are the types of perform?
Define redefine?
Trying to help a friend... How do you code screen I/O without a DDS? I know it can be done, because for a short time, I worked for a company that did it. It was just too long ago for me to remember what was involved.
Explain how to update data area in cobol 400 program?
When search all is used in cobol program without sorted input data
Explain the difference between comp & comp-3?