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
) How do u handle errors in BMS macro
What is the difference between next sentence and continue in cobol programing language?
Name the sections present in data division.
How are the next sentence and continue different from each other?
What is redefines clause in COBOL?
What is the local-storage section?
Name the divisions, which are available in a cobol program?
What is length is cobol?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is a SSRANGE and NOSSRANGE?
What are literals?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc