BCS COBOL Redefines and Copy Books
Executive summary By Arch Brooks
You can use the COBOL copy facility to copy block 1 replacing Input 01 by ReportRecords. Replacing 80 by 133 the COBOL compiler creates a File Description (FD) named ReportRecords containing logical records of 133 bytes in length.
In the copy book block1 the block contains 0 clause should be used. By using the above copy book all fixed length physical sequential file input and output (IO) is accommodated by a single block of code. Conversely another FD copy book can be created to accommodate Virtual Sequential Access Method (VSAM).
The Legacy COBOL Bottleneck – Solving It Simply
Executive summary By Kenneth Lundeen
After identification of the problem areas, replacement with a modern, more efficient, processing pattern is needed. Maybe the problem is outdated, inefficient code. Sometimes the interlinkage between programs triggers unnecessarily slow-running jobs. Whatever the cause, slow COBOL processing is the problem to be solved. A review of the job log will isolate the problem program or programs. Next, the programs could be tested using STROBE or a similar processing analyzer. This should identify the problem area(s) within the program.
If the problem is in the I/O process, a simple improvement to the blocking and buffering parameters may speed up throughput. If it is random-access processing, a sensibly sorted version of the file could be read sequentially, processing only the pertinent records. If millions of records are being processed, a single inefficient routine can slow processing to a crawl. A single paragraph may be using more time than all the remaining processes.
Article You May Be Interested In Reading : Pharmacist Jobs
