I wrote a program that will search all spoolfile in a particular outq for a string of data. Look for SCANSPLF here:
http://home.roadrunner.com/~jbmmdietz/iseries.html

It copies the spoolfile to a userspace and scans that space.
It does not scan spoolfiles larger than the 16m limit of userspaces.

Bryan




Shijith Chand said the following on 8/17/2009 5:58 AM:
Dear All,

I have a requirement where in I have to search all my spool files for finding the occurence of a string.My program must generate a report that contains the list of all spool files which has the string.

I could think of only one solution..do a CPYSPLF of given spool file

into a file and search using FNDSTRPDM.


Any body who has tried a better way...or knows any API that does the same.It would be of great help.


Thanks in advance,

S.Chand




_________________________________________________________________
Log on to MSN India for a lowdown on what’s hot in the world today
http://in.msn.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.