What is the maximum length of a field you can define using
COMP-3?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nihar ranjan karan
If you use the compiler option ARITH(EXTEND) then you can
have a maximum of 31 digits.
Look up the compiler option ARITH in manual... you will get
some more info also...
Is This Answer Correct ? | 9 Yes | 3 No |
Difference between array and sub-script ?
what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?
In COBOL "BEFORE" advancing is there or not ?
Difference between next and continue clause
What is the difference between comp and comp-3 usage?
which of the following can be used as a check protection symbol a.Z b.S c.* d.+
How do get the result of your program directly on your pc?
is it possible to declare index in cobol program? if it is not why its tell me pls
what is the difference between external and global variables?
how do you reference the variable unblock file formats from cobol programs
How to resolve the soc4 and soc7 errors?
1.Can we define condition-name conditions in FD entry.