270 pts.
 Changing outqueue of all spool files of a job
Hi, I need to change outqueue of all spool files of a specific job. Is there any command or steps available ?

Software/Hardware used:
iseries version V6R1M0
ASKED: May 15, 2012  12:39 PM
UPDATED: May 25, 2012  7:38 AM

Answer Wiki:
Add the statement OVRPRTF *PRTF outq(yourqueue) at the beginning of your program
Last Wiki Answer Submitted:  May 15, 2012  12:59 pm  by  CharlieBrowne   32,785 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,785 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

If it for a Specific Job, You can change the OUTQ in JOBD.

Pradeep.

 3,370 pts.

 

I need to change outqueue of all spool files of a specific job.

What do you mean by “specific job”?

A “specific job” is only known after it is created. By then, it’s too late to change its job description or to issue any overrides. You’ll need to run a CHGSPLFA command against each spooled file (perhaps from a program that you write).

But if you mean that you have a scheduled job or a job that you know will be submitted, then there are various possibilities. Two of them have been mentioned already. Other possibilities exist.

You need to describe the circumstances more fuloly.

Tom

 107,735 pts.