i declare a Table as OCCURS 2000 TIMES.If the input file
has more than 2000 records will the COBOL program fail?
Answer Posted / giri
No. Program will not fail
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Have you used comp and comp-3 in your project? And how?
What is the difference between next sentence and continue in cobol programing language?
what is difference between cobol and cobol/400
How to print 10 to 1 if the input have only 10 digit number?
How many bytes S(8) comp field occupy and its maximum value?
What do you understand by psb and acb?
What are literals?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?