What is the maximum length of a field you can define using
COMP-3?
Answer Posted / smita padhy
The maximum length of a computational item is 18 decimal
digits, except
for a PACKED-DECIMAL item. If the ARITH(COMPAT) compiler
option is in
effect, then the maximum length of a PACKED-DECIMAL item is
18 decimal
digits. If the ARITH(EXTEND) compiler option is in effect,
then the
maximum length of a PACKED-DECIMAL item is 31 decimal
digits.
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What is the compute verb? How is it used?
What is difference between static and dynamic call in cobol?
how do you reference the printer file formats from cobol programs
Why occurs cannot be used in 01 level in COBOL?
Have you used comp and comp-3 in your project? And how?
what is amode(24), amode(31), rmode(24) and rmode(any)?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is inspect in cobol ?
State the various causes of s0c1, s0c5 and s0c7.
Can a Search can be done on a table with or without Index?
what is difference between cobol and cobol/400
What is the difference between comp and comp-3 usage?
What guidelines should be followed to write a structured cobol prgm?
What is the problem of ordered sequential files access?
Difference between cobol and cobol-ii?