0 pts.
 AS/400 Spool Files not Saving
Non of my spool files are going to *SAV after printing. How can I change this default to save spool files. Tommy

Software/Hardware used:
ASKED: June 13, 2006  11:59 AM
UPDATED: December 10, 2009  7:50 AM

Answer Wiki:
Whether a spool file goes on *SAV or not depends on the way the printer file is defined. The default for the SAVE parameter is *NO. You need to change all printer files for reports you want to go to *SAV or you can do an OVRPRTF to set this at run time. Executing the command CHGPRTF FILE(*ALL/*ALL) SAVE(*YES) will change every printer file on the system to do this. This includes all IBM and user defined printer files. Just remember if you go this route and you load a new OS version you will probabaly need to do this again as the IBM printer files might be overlayed.
Last Wiki Answer Submitted:  June 13, 2006  12:15 pm  by  WaltZ400   645 pts.
All Answer Wiki Contributors:  WaltZ400   645 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

you can permanently change a Printer File, such as QSYSPRT, using the CHGPRTF command. Better yet, set an override in your programming such as OVRPRTF FILE(*PRTF) SAVE(*YES).

 0 pts.

 

you can permanently change a Printer File, such as QSYSPRT, using the CHGPRTF command. Better yet, set an override in your programming such as OVRPRTF FILE(*PRTF) SAVE(*YES).

 0 pts.

 

Hi

When you create the printer file you can specify SAVE(*YES) to have them saved when they are created. You can use the CHGPRTF command to change the attribute to save them being recompiled.

You can change the default on the CRTPRTF command using the CHGCMDDFT commands, specify CRTPRTF as the command to change and SAVE(*YES) for the default value.

Alternatively you can use:

OVRPRTF splf_name SAVE(*YES)

before you create the spool file.

All the best

Jonathan

 370 pts.

 

Is this a question about how to do it or about why it’s not working when you try to do it?

Tom

 108,225 pts.