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
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?
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!
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.