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
What are the different rules for performing sort operation?
What are the different rules to perform a Search?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
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)?
Define cobol?
How do we get current date from system with century in COBOL?
What is rmode(24)
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Write a program that uses move corresponding.
IF I mention stop run in CICS what happens?
When is inspect verb is used in cobol?
What guidelines should be followed to write a structured cobol prgm?
how do you reference the variable unblock file formats from cobol programs
Can we change the password using ALTER? anyone tried and changed?