|
So, you're saying that you don't know the job name/number/user, spool file name, or spool file number for a spooled file, and you're hoping to get this from QUSRSPLFA? Actually you need to know those things in order to call QUSRSPLFA as well. (Though, you can try to get attributes based on "partial info", such as when you know the job name & user but not the number, or when you know the job name & number but not the user, or when it's the current job... but you need something to start with!) If you're looking to get a list of those details for all of the spooled files in a given output queue, or for a given user, or have a certain form type, or something then you need to call the QUSLSPL API which can return a list of one or more spool files. (And then, for each file in that list, you might decide to call QUSRSPLFA to get some of the gory details of each one) If this is really a simple thing (where you're retrieving attributes for the last spooled file in the current job, for example) you might attempt to do this in CL.... But, for something more complicated than that, I don't think I'd bother with CL. Sure, it may be possible -- but the code would be horrible. Do it in RPG or C. On Wed, 24 Apr 2002, Angela Wawrzaszek wrote: > Appol file name, job name .... I need to grab the spool file generated > from an ezprint merge and send it to our FAX400 program using SNDFSPL > command which needs all the spool file attributes. Then user can enter > in Fax or email value needed to send. > > From: Scott Klement [mailto:klemscot@klements.com] > > What info are you trying to retrieve? > > On Tue, 23 Apr 2002, Angela Wawrzaszek wrote: > > > > Does anyone have a sample CL program using the qusrsplfa API? I looked > > on the archives and the ibm api info center but did not see this one > > used in an example. > > > > Thanks!
As an Amazon Associate we earn from qualifying purchases.
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.