i declare a Table as OCCURS 2000 TIMES.If the input file
has more than 2000 records will the COBOL program fail?
Answer Posted / vidhya
If you compile the Program using SSRANGE = Y then the,
program will fail, if not the program will not fail.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
what is the use of outrecord?
What is the utilization of copybook in cobol?
Write a program to enter and display the names of students in a class using the occurs clause.
how do you reference the variable unblock file formats from cobol programs
Explain the configuration section of a cobol program with examples of syntax.
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?
What rules are followed by the search verb.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is report-item in COBOL?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the difference between goback, stop run and exit program in cobol?
What is static and dynamic call in cobol?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is the difference between next sentence and continue in cobol programing language?
What is the difference between a binary search and a sequential search what are the pertinent cobol?