There is a database that has Lacs of records.
The requirement is to write a stub module that will have a hard coded array of about 100,000 records.
Typing in these values will take a lot of time. For simplicity, an array record would be of 65 bytes (that would fit in one line).
But one would still need to hard code '05 FILLER PIC X(65) VALUE' after every array occurrence.
(Very much similar to the stubs that we have coded).
As you may realize, hard coding an array of 100,000 occurrences * 2, would in itself take a huge time.
Can anyone suggest a way to create this array without having to type in these 100,000 odd lines?
(PS : One way would be to write a program to do this, but coding and testing the program would involve considerable effort as well)