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 happens if parmparameter passes zero bytes to the program
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How you can characterize tables in cobol?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the LINKAGE SECTION used in COBOL?
Discuss about changing dataset name in proc.
how do you reference the ksds vsam file formats from cobol programs
For rewrite, why is it mandatory that file needs to be opened?
What is link edit in cobol?
how to move the records from file to array table. give with code example
Write a program to explain size error.
Write the code implementing the perform … varying.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are 77 levels used for?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?