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
how do you reference the variable unblock file formats from cobol programs
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What type of SDLC u followed? Why?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Name the divisions, which are available in a cobol program?
What is the difference between comp and comp-3?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Difference between array and sub-script ?
What is perform what is varying?
What is length is cobol?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is the usage of comp fields in cobol?
What kind of error is trapped by on size error option?