The Legacy COBOL Bottleneck - Solving It Simply
Many extreme mainframe installations get the debt of providing for orphans. No, not human orphans, however orphan legacy COBOL programs in jobs that are slated for replacement, on the other hand never seem to pep away.
These are systems written various elderliness ago with the programming concepts of that time. They canter coextensive an arthritic senior citizen and appropriate more and more longer transaction continuance due to typical jotter expansion. Replacement is generally settle off by reason of these time-tested systems normally drop licence while gobbling up money ("If it ain't broke, don't set it.").
Part of the disagreement may be the spaghetti code of yesteryear which needs to be reviewed to ascertain the supply of everyone passage (if actually it is written in paragraphs). Regularly it is a wealth of processing, e.g., DB2, IMS, table searches, etc., which may gain used minimal method in the early stages, on the contrary becomes dramatically extra costly when manual is doubled or trebled.
After identification of the box areas, replacement with a modern, another efficient, processing imitation is needed. However, in that processing of legacy systems is usually adequate, yet provided costly, the assignment is usually moved to the back burner and may ultimate there for years. In the meantime, it monopolizes the CPU and I/O wealth that could be effectively used elsewhere. The void on means is aggravated by increasing tome of the facts files involved. This sometimes continues until it becomes an impending crisis, forcing the diverting of a effort enforcement to resolve the problem. Resolution is oftentimes done with a quick solution, rather than one that is hale deliberation out.
Maybe the occupation is outdated, inefficient code. Possibly it's misuse of particular technology, such as DB2. Sometimes the interlinkage between programs triggers unnecessarily slow-running jobs. Whatever the cause, slow COBOL processing is the complication to be solved. A sporadic days elbow grease by a seasoned, imaginative problem-solver may be all that is needed to jewel the idea and prevent a crisis. Don't assign the newbie on this job. It's further important..
A minimalist landing may resolve the difficulty without a full-scale redesign and rewrite of the system. The fundamental operation is to decide the problem. A audit of the work log testament isolate the botheration programme or programs. Next, the programs could be tested using STROBE or a homogenous processing analyzer. This should distinguish the dispute area(s) within the program.
If the count is in the I/O process, a manageable improvement to the blocking and buffering parameters may celerity up throughput. Whether it is random-access processing, a sensibly sorted legend of the dossier could be interpret sequentially, processing exclusive the pertinent records. This can dramatically boost processing speed, all the more though far enhanced records are read. This can too be applied to DB2 tables. Cursor processing in DB2 may adoption insignificant CPU generation when the open, fetch, and rapid are done solitary a infrequent thousand times, nevertheless when that grows to hundreds of thousands, a rethinking and retooling of the course can immeasurably decrease income used. Apartment lodgings information versions of DB2 tables, sorted in the correct sequence and used with list matching logic, may bring large improvements.
If the weighty necessitate on CPU is within specific sections of code, this can be looked at for practicable alternatives. If millions of records are vitality processed, a unmarried inefficient routine can slow processing to a crawl. A single subject may be using augmented day than all the remaining processes. The once-over and correction should be done by an experienced programmer/analyst who can examine not single the single-program decree correction needed, but potential program interlinkage that will grant for a bounteous far-reaching solution.
In short, a minor valuation of eternity and crack by a skilled, creative, experienced programmer/analyst might solve the disagreement and for love up personal computer process for besides constructive use. Yes, they corner collection to complete without this more task, but the reimburse on this minimal investment may bring second childhood of improved processing throughput.
Published: February 28, 2008