× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 05-Nov-2014 08:33 -0600, Steinmetz, Paul wrote:
Lost some source code, rebuilding it from a spoolfile.
Currently doing using copy/paste, screen by screen.

Anyone know of any tricks or tips to accomplish this quicker.


That would depend significantly, seemingly, on what feature produced the spool file? If a compiler listing vs an effective print-member feature seem germane, and then which compiler or which print feature, and possibly even the language feature or release that was used for whatever had produced the SPLF may be germane.

On a few occasions when I had lost source [that had not yet been included in a backup] I usually would, if available, copy a spool file [from a compile listing or prior effective 6=Print] into a source file and then compose SQL to delete all header\footer rows [delete from mysrcmbr where srcdta like :header-like or srcdta like :footer-like] and then truncate all suffix-data and prefix-data from the SRCDTA of each record [update mysrcmbr set srcdta=substr(srcdta, :pfx-end, :sfx_str)]. After that, I would start my editing [e.g. STRSEU] to perform anything that the SQL requests could not effect for making the spooled data appear or function as the source-type requires.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.