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 WaltZ400645 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
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).
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).
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.
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).
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).
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
Is this a question about how to do it or about why it’s not working when you try to do it?
Tom