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 |
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.
What is the difference between perform … with test after and perform … with test before?
what is the difference between PA & PF keys?
where will u code file status ?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How many types of sorts are there in cobol?
What is the difference between a binary search and a sequential search?
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
perform I from 0 by 1 until I=5?How maney times it will executes
Explain what you understand by passing by value.
how we rectify soc7 and soc4 errors in project?