AS400 Spoolfile

40 pts.
Tags:
Spool files
When we type 'WRKOUTQ (OUTQ Name)' on command prompt and press enter, we get 'Work with Output Queue' screen. This screen contains the different spoolfiles with column headings: Opt, File, User, User Data, Sts, Pages, Copies, Form Type, Pty. How can we change the File name specified in the 'File' column if the spoolfile is generated by a query?
ASKED: April 9, 2009  8:03 AM
UPDATED: April 9, 2009  1:44 PM

Answer Wiki

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

Hi,

Use the OVRPRTF command before you run the query and the DLTOVR command afterwards :-

OVRPRTF FILE(QPQUPRFIL) SPLFNAME(YourName)

RUNQRY YourQuery

DLTOVR FILE(QPQUPRFIL)

Regards,

Martin Gilbert.
//////////////////////////////
Right – you can’t change the name once it’s created but you can have the query create the
spoolfile with a different name using the OVRSPLF

But you haven’t told us why you want this. Perhaps it’s possible to solve your issue without changing the name.
If it’s just that you have too many things in the Queue with the same name, the wrkSplf maybe easier to use than the wrkoutq because it will only show the users work.

Phil

Discuss This Question:  

 
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

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