What is the difference between comp and comp-3 usage?
Explain other COBOL usage?s.
Answer Posted / sultana
Usage Clause :COMP
Binary representation of data item.
PIC clause can contain S and 9 only.
S9(01) – S9(04) Half word.
S9(05) – S9(09) Full word.
S9(10) - S9(18) Double word.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is rmode(24)
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between next sentence and continue in cobol programing language?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is an in line perform? When would you use it? Anything else you wish to say about it.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
what is search and searchall?what is the diffrence between them?give an best example?
A table has two indexes defined. Which one will be used by the SEARCH?
how do you reference the ksds vsam file formats from cobol programs
What is a scope terminator give example?
What are the different types of condition in cobol and write their forms.
Have you used comp and comp-3 in your project? And how?
What is the difference between PIC 9.99 and PIC9v99?