i want to store 20 digits . h will u do it in cobol ?
Answers were Sorted based on User's Feedback
Answer / paray2x
Most of the modern compilers support upto 31 digits. Try
compiling your program and you'll be able to find out.
Else, if your requirement is only to store and not do any
computation, you can have a group variable.
05 My-number.
10 My-number-part1 pic 9(15).
10 My-number-part2 pic 9(5).
Is This Answer Correct ? | 13 Yes | 3 No |
Answer / nitesh sethi
Use ARiTH(EXTEND) as compile option and you can extend
numeric field upto 30 digits
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / yogesh
U can use either tables(ARRAYS) or can store those values
as elementary data items
Is This Answer Correct ? | 0 Yes | 1 No |
tell me about examine inspect and evaluate ?
What is the difference between external and global variables in COBOL?
what is a zoned decimal data type and how it will be stored?
Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?
I want ALL ERROR codes in VSAM
3 Answers American Express, TCS,
IF I mention stop run in CICS what happens?
whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?
what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?
How do you come out of an EVALUATE statement?
I want ALL jcl ERROR cods
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?