× 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.



I see a lot of messages telling you this can be done, and how to do it, I'd
just like to say that this is a fun project.  I did something similar with
archiving spooled files.

Be aware that any special formatting (bold, underline, etc...) in the spool
file will be lost when you do the CPYSPLF, but it doesn't sound like this
will be a problem.

I had done it the opposite way, taking a bunch of spool files and putting
them into one spool file when I got the complete set.  Then this went off to
a PC and written to optical drive for storage.

One thing I had done was create a little database that gave me some
information on how to determine what spool file was what.  It contained 4 or
5 fields, Line Number, Start Position, End Position, Text to match, File
Name to output.  Start Position and End Position told the program where in
the text string to look for the text and the Line Number told it what record
to look at.  I sorted this file by Line Number, and simply went through the
file comparing the lines until I received a match.  Your scenario will be a
little different, but you should probably create some file like this to help
you maintain your report(s).

Good luck and have fun!

Regards,

Jim Langston

From: "Wills, Mike N. (TC)" <MNWills@taylorcorp.com>
To: "'midrange-l@midrange.com'" <midrange-l@midrange.com>
Subject: Break up spool file based on information within
Date: Thu, 13 Sep 2001 09:51:30 -0500
Reply-To: midrange-l@midrange.com

I have an interesting request, and I am not sure of the best way to do this.

Brief History:
We use a purchased product for our accounting systems. One of the reports in
this software creates a report that we need to break up for distribution to
other people. We don't want them to see everything, just the part that they
are supposed to see. The report is laid out that there is a definite spot
where you can tell where to break it apart. However, we are currently doing
this manually.

My questions:
What I want to know is if anyone knows of a easy way to break this spool
file apart automatically, without purchased products? We are willing to
write a program to duplicate what the report does, in order to break this
apart. But I am wondering if a program could be written to read through the
report and copy the parts that we want out of the created spool file. We do
have Brad's SPLTOOL to use (because these will be created into PDF files).

Could this be done? Copy the spool file to a physical file, start reading
though it. Since I know what positions to look at use that in combination of
the page number and break it apart that way using SPLTOOL? Any thoughts?

Thanks for any advice...

Mike Wills



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.