× 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 had the opportunity to work with IPDS and AFP data stream... (nearly the
same...) and I wrote tools to extract the text from AFP spooled files...
AFP and spooled file API's are documented...
As anything, it is easy when you know...
If any interested, I can make the code available... old stuff but still
working...

Paul




From: Bradley Stone <bvstone@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 08/11/2017 14:06
Subject: Re: Release/email spoolfiles only if contains errors -
problem in identifying job number for specific spoolfile
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



AFPDS is all gibberish.. I think IPDS too. It's probably PCL or something
similar. SCS is "readable" with some formatting in it.

I remember spending days trying to figure out what the AFPDS data was from
the APIs. In the end it was futile. :)

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #14 <https://www.bvstools.com/mailtool.html>: The ability
to use Configuration Files at the system, User, or individual email Level.
This means that should any of the settings (such as your password) is
changed you only need to update it in the configuration file that is used.

On Tue, Nov 7, 2017 at 4:44 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:

Agreed - they are usually not accessible due to authority, either. I
just
remember looking there to see if a certain text were to be found.

I'm pretty sure, as well, that *AFPDS might not be searchable - either
that or *IPDS - one of those has been described as *SCS plus graphic
commands, I forget which one.

So my comment was mostly a matter or dredging up old memory and maybe
giving someone something eeeeenterrresting to think about.

Cheers
Vern

On 11/7/2017 1:41 PM, Rob Berendt wrote:

Vern,
They're only semi formatted. For example, job user, name, number are
not
separate columns.
And I'm willing to bet that accessing them directly is an unsupported
and
"subject to change" upon release upgrade.


Rob Berendt
-- IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600
Mail to: 2505 Dekko Drive Garrett, IN 46738 Ship to: Dock 108 6928N
400E
Kendallville, IN 46755 http://www.dekko.com From: Vernon Hamberg <
vhamberg@xxxxxxxxxxxxxxx> To: midrange-l@xxxxxxxxxxxx Date: 11/07/2017
02:22 PM Subject: Re: Release/email spoolfiles only if contains errors
-
problem in identifying job number for specific spoolfile Sent by:
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> IIRC, there are PFs that
hold the content of spooled files - in library QSPL - at least for *SCS
device type - and I thought there is a command to find out which PF a
given
SPLF is in. But it's been a long time! Vern On 11/7/2017 11:05 AM,
Bryan
Dietz wrote:

I have a SCANSPLF at my site:http://bryandietz.us/scansplf.html

it is designed to scan all spooled files in an outq, but can be
changed fairly easy.

it scans the spool file from a user space, so WAY faster than cpysplf
then scan.

it does have a problem when the spool file is bigger (16mb) that a
user space can hold. I've just went back and fixed that part.

Bryan


Rob Berendt wrote on 11/7/2017 11:25 AM:

You're right.

I do not see any "scan spool file" api or service. The closest I've
seen
is one which will put spool file data into a user space
Get Spooled File Data (QSPGETSP) API

https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/
apis/QSPGETSP.htm


Rob Berendt



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.