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 |
What is mean by maxcc
what will happen if i give program name and member name as different? program runs successful or w'll abend?
) How do u handle errors in BMS macro
give the examples of strings in cobol
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
What is EIBCALEN? Why it is used?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
COMP-3 field occupy ?
How to know whether the module is dynamical or statistical?
what is the difference b/w level no.01 & level no.77?
when COMP-3 is preferrable?