Renombrar Spool Files

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

How to give spool file different name when it is created ?

Answer

We can run OVRTPRTF command That has The option SPLFNAME value .

Sample :

OVRPRTF FILE(QPRTLIBL) SPLFNAME(MO) OVRSCOPE(*JOB) DSPLIBL *PRINT Now the DSPLIBL


should have the name MO .

To Rename an existing spooled file we will need to use CPYSPLF and write it to new Printer file .

Sample : CPYSPLF FILE(000000) TOFILE(KWALTON/QPRINT) JOB(878952/S19106/QPADEV012L)


SPLNBR(000005) NOTE: CPYSPLF doesn't work on *AFPDS type files so it is not going to work for all
files .

You might also like