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
A table has two indexes defined. Which one will be used by the SEARCH?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Explain how to differentiate call by context by comparing it to other calls?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How you can read the file from bottom?
Write the code implementing the perform … varying.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
HOw can I get the negative sign while deduct high value from low value
What do you understand by psb and acb?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Differentiate between structured cobol programming and object-oriented cobol programming.