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


Please Help Members By Posting Answers For Below Questions

what happens if parmparameter passes zero bytes to the program

1659


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

740


How you can characterize tables in cobol?

710


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2718


What is the LINKAGE SECTION used in COBOL?

885






Discuss about changing dataset name in proc.

757


how do you reference the ksds vsam file formats from cobol programs

660


For rewrite, why is it mandatory that file needs to be opened?

620


What is link edit in cobol?

745


how to move the records from file to array table. give with code example

2216


Write a program to explain size error.

669


Write the code implementing the perform … varying.

639


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?

892


What are 77 levels used for?

656


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2052