What is the maximum data length for Numeric DataType ?
Answer Posted / muttaiah
The default is 18..which means the compiler option will be
Arith(compat)..
If you change the compiler option to Arith(extend) you can
use max 31 digits..
This is one of the famous interview question now a days.
Say i want to declare a variable with PIC 9(20) is it
possible?
People who doesn't know Arith(extend) compiler option they
will say it's not possible to declare a variable with PIC 9
(20) keeping 18 digits in mind. This is how it is.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Which mode is used to operate the sequential file?
Can we change the password using ALTER? anyone tried and changed?
In which area will you utilize 88 level items in cobol?
Define static linking and dynamic linking.
A table has two indexes defined. Which one will be used by the SEARCH?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
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.
example for sub strings ? and refernce modifications whit output pls
Explain what you understand by passing by value.
In COBOL programming, what is PERFORM? What is VARYING?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Explain how you can characterize tables in cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
how to access the file from prodution from changeman tool and to submit a file to production
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.