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 |
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What are the differences between COBOL and COBOL II?
What is the usage of comp fields in cobol?
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is R-mode and A-mode?
I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you
write a program to eliminate duplicate records in a input file and send them to output file.
In an array processing what is the thing that can be done by using subscripts but not by using index
what is S04E error in jcl?
11 Answers IBM, L&T,
File status must be checked both while opening and reading the file or only while reading the file?
I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...