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 redefine?
What are Fillers ? What is the actual use of Fillers ? With small/simple Example..
What is the actual use of fillers?
Explain the output procedure?
why icetool be used in programmer view?
How to detect record is locked in cobol/400?
Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?
Explain what all the conditiones required for using open opcode on a file?
Explain the difference between search and searchall?
Explain the difference between section, paragraph and sentences?
write a cobol program to display prime numbers between 1 to 100?
Define sort?