What is the difference between comp and comp-3 usage?
Explain other COBOL usage?s.
Answer Posted / elite group
Comp -- binary form
Comp-3 Packed Decimal
Usages are:
Display: Default it occupies the number of bytes is equal
to the size of the data-item
Comp -- Binary Number of bytes is equal to the size of the
data-item
Comp-1 -- 4-Bytes no pic clause is required
Comp-2 -- 8-byted no pic caluse is required, Double
precision
Comp-3 -- Packed Decimal Number of bytes is
(n+1)/2 -- if n is odd
(n/2)+1 -- if n is even
Comp-4 --- Same as Comp
| Is This Answer Correct ? | 57 Yes | 14 No |
Post New Answer View All Answers
In COBOL, what is the different between index and subscript?
How to remove 2 duplicate records and copy only one using job control language?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is the difference between next sentence and continue in cobol programing language?
Can you please let me know the centre name of INS certification in Kolkata.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Which mode is used to operate the sequential file?
Explain about different table spaces.
How to print 10 to 1 if the input have only 10 digit number?
Explain what you understand by passing by value.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
explain sorting techniques in cobol program?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Name the divisions, which are available in a cobol program?
What is perform what is varying?