× 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: Capture spool file name created in a job stream
  • From: Rich Dotson <rdotson@xxxxxxxxxxx>
  • Date: Wed, 18 Nov 1998 14:05:22 -0500
  • Organization: Meridia Health System

On Wednesday, November 18, 1998 1:02 PM, Ravi [SMTP:ravi@spacestar.com] 
wrote:
> Take the easier way out.....SOMEHOW dynamically capture all spool file
> names created in the job stream and send the files to the remote system.
> Is this possible ? Any suggestions will be appreciated....
>

Ravi,

Use the QUSLSPL API to retrieve the spool files created by the job.   Use 
the list generated by the API to do your SNDNETSPLF.  Below is a snippet 
from the API web page:

The List Spooled Files (QUSLSPL) API is similar to the Work with Spooled 
Files (WRKSPLF) command or the Work with Job (WRKJOB OPTION(*SPLF)) 
command. The API generates a list of spooled files on the system and places 
the list in a user space. The list can include some of the following:

.All spooled files
.Spooled files of specific users or all users
.Spooled files in a specified output queue or in all output queues
.Spooled files for all form types or the standard form type
.Spooled files that have any user-specified data values
.Spooled files generated by a specific job
.Spooled files stored in an auxiliary storage pool.

Rich Dotson
RT3 Consulting Services, Inc.
P.O. Box 126
Lorain, Ohio   44052-0126

Phone: 1-216-556-1710
email: rich_dotson@centuryinter.net

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