Spool File..File

1,780 pts.
Tags:
Spool files
I know there has to be a IBM file on the system that has a list of spool files on the system. Just like there is one for all the files on the system. Anyone have any idea what its called? Thanks
ASKED: March 25, 2009  12:28 PM
UPDATED: March 27, 2009  1:04 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

QPRTSPLQ

///////////////////////////////
Hi Ron

WRKOUTQ *PRINT will give a detailed list when you provide a specific queue name.
Or a summary list when you wildcard the queue or use *ALL

Then CPYSPLF to a flat file and substring to get your data.

Phil

———————————————————————————————————————————————–

Spool files information is kept in *outq objects. With the ability to associate outqs with printers (or not) and to move outqs from printer to printer leads me to believe there is no one repository for all spool files. There may be one place where all outqs are listed.

There are several files in library QSPL with names like Q04079N001, Q04079002, etc. Each member of these files is a spool file. Display one and you will see the SCS control characters interspersed with the data. Part of the content of an *outq object has to be pointers to these members. Best I can tell there is no relationship between a file and a printer, or a queue.

Leo Burkett

Why don’t you checkout the QUSLSPLF API. Works great nd fast. Up to some 123000 spoolfiles because of limitations with User Spaces. Another set of API’s that work with lists of objects overcome this limitation.

PDraebel

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • RonKoontz
    Thats not a physical file so you can not query it. Is there a way to look at what it has inside? Thanks
    1,780 pointsBadges:
    report
  • RonKoontz
    I see. what i need to do was do a wrkoutq to generate the file, Then do a cpysplf to make it into a database. Thast fine....but.. there just has to be a file out there from IBM that has all this already.... Im picking your brains.... Thanks
    1,780 pointsBadges:
    report
  • RonKoontz
    well i'm adding to it again. I take it all back. That file doing it that way does not show detail spool files. It only shows a consolidated list. I need detail spool files in a file. Any ideas?
    1,780 pointsBadges:
    report
  • RonKoontz
    Part of answer for now. Still there has to be a file they are using. http://www.itjungle.com/fhg/fhg113005-story03.html
    1,780 pointsBadges:
    report
  • wpoulin
    Ron or anyone else, If you come across the IBM file that identifies all of the spool files, please post, I am interested also. Thanks, Bill Poulin
    2,480 pointsBadges:
    report
  • wpoulin
    Ron, TAATOOL has a command, CVTWRKSPLF, that produces a data base file of the spool files for an individual profile or *ALL. Hope this helps, Bill Poulin
    2,480 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following