What is the maximum data length for Numeric DataType ?
Answers were Sorted based on User's Feedback
Answer / g.naveen
18 is Maximum Data length for Numeric Data Type.
| Is This Answer Correct ? | 24 Yes | 0 No |
Answer / shekh
BY USING COMPILER OPTION MATH, IT WILL INCREASE THE VARIABLE CAPACITY UP TO 31 DIGITS.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / 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 |
In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference
what is the difference b/w level no.01 & level no.77?
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.
Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
suppose there is one PF having two members PF1 PF2.PF has one unique key Emp ID.could you tell me uniqueness in PF will be effective across members as well ? assume emp iD 3333 is in member PF1 would same Emp id be exist also in member PF2 ?
What is ASKTIME, SUSPEND
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)
What is the difference between a binary search and a sequential search?
Define in-line perform?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com