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
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Why did you choose to work with ibm mainframe cobol programming?
what is search and searchall?what is the diffrence between them?give an best example?
How you can characterize tables in cobol?
What is the difference between next sentence and continue in cobol programing language?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
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 link edit in cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What are the cobol coding sheets?
What are various search techniques in cobol? Explain.
explain sorting techniques in cobol program?
) How do u handle errors in BMS macro?