40 pts.
 AS/400 Spoolfile
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 for an individual spoolfile if the spoolfile is generated by a query after running the batch?

Software/Hardware used:
ASKED: April 9, 2009  10:47 AM
UPDATED: April 13, 2009  2:24 PM

Answer Wiki:
Hi, Once the spooled file is created you <b>cannot</b> change the spooled file name. Please use the question to follow up on this (add to discussion), instead of asking more of the same questions... Regards, Martin Gilbert.
Last Wiki Answer Submitted:  April 9, 2009  11:26 am  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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 for an individual spoolfile if the spoolfile is generated by a query after running the batch?

 40 pts.

 

Moderator Note: Susweta, welcome to IT Knowledge Exchange. Martin wasn’t referring to reposting your same question into the discussion comments. He was saying to please stop creating new questions to continue the conversation. On IT Knowledge Exchange, there is an answer section and discussion section attached to each question. You should continue the conversation on the original question and not create a new question each time you add explanations. Thanks!

 6,565 pts.

 

Although you can’t change the spool file name after the file has been created, you can change it

    before

it’s created via the OVRPRTF command.

 4,275 pts.