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


  • Subject: Re: Automatic cleanup of spool files
  • From: fkolmann@xxxxxxxxxxxxx
  • Date: Thu, 01 Jul 1999 14:57:08 +1000

I know about DLTOLDSPLF  and I can handle CPYSPLF to db  file etc. also I know
about SNDNETF and SNDTCPSPLF.   What I really want is to be able to use the 
spool
file API's.
I dont have access to a C compiler on  our AS400.  I am hoping that someone has
an RPG program that uses the spool file API's. (the latest TAATOOLS has almost
what I want but it is not all RPG)  Converting C to RPG is not within my 
ability.

I need a starting point so that I can learn and at the same time develop 
in-house
a spool file distribution function.

When a report is generated we need to send it to a number of printers.  We
achieve this at present via SNDNETSPLF, this is working fine.

If I had access to the spool file APIs I could make the current programs
structures less complex, as presently  I need to set up dummy user profiles that
are associated to printers and have OFFICE enrollments etc etc.

I almost got SNDTCSPLF doing the trick, but there is a slight flaw. It sends out
unwanted messages. SOMETIMES THE MESSAGES GO OUT AS SPOOL FILES.

This unwanted message problem comes up many times.  I saw  posts to this forum
with messages coming from comms lines going online and offline.
I cannot see a way to prevent SNDTCPSPLF from sending its normal completion
mesage. If I could do this I wouldnt need the APIs.

By the way where do you find the QYSINC lib. Thanks
> > 4. Check out API's in qsysinc library to write your own spool control
> > programs.

Patpong Watwanitchakorn wrote:

> It used to named as "DLTOLDSPLF" or something similar this in V2Rx .. BUT ..
> in V3Rx or V4Rx it seems not to be included in TAATOOLs.
>
> > ----------
> > From:         fkolmann@revlon.com.au[SMTP:fkolmann@revlon.com.au]
> > Reply To:     MIDRANGE-L@midrange.com
> > Sent:         Wednesday, June 30, 1999 8:13 AM
> > To:   MIDRANGE-L@midrange.com
> > Subject:      Re: Automatic cleanup of spool files
> >
> > I also looked for a spool file maintenance and distribution system, but
> > those
> > spool file APIs are LULUs. (too much for my feeble brain).  Also the
> > TAATOOLs use
> > C programs.  Would anyone have an RPG program (prefer IV) that does the
> > same
> > thing as the TAATOOLs (Save and Restore Spool Files).  Thanks in advance
> > but I
> > dont hold out much hope.
> >
> > Chris Bipes wrote:
> >
> > > 1. TAATOOLS library has a utility for spool file maintenance.
> > > 2. There are several packages out there.  i.e. Robot
> > > 3. There is Operation Assistant for clean up of system spool files.
> > > 4. Check out API's in qsysinc library to write your own spool control
> > > programs.
> > >
> > >
> >
> >
> > +---
> > | This is the Midrange System Mailing List!
> > | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> > | To unsubscribe from this list send email to
> > MIDRANGE-L-UNSUB@midrange.com.
> > | Questions should be directed to the list owner/operator:
> > david@midrange.com
> > +---
> >
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.