PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

How to read a record from SPLF and write into PF?

View previous topic View next topic Go down

How to read a record from SPLF and write into PF?

Post  prince selvaraj on Mon Jan 13, 2014 6:42 pm

When you copy the spool file to the physical, do this (assuming QSYSPRT is the printer file name):

CPYSPLF FILE(QSYSPRT) TOFILE(SPOOLPF) CTLCHAR(*FCFC)

To take the contents from the PF back to a spool file do this:

CPYF FROMFILE(SPOOLPF) TOFILE(QSYSPRT) MBROPT(*ADD)


Is there any new method ,please let me know ?

prince selvaraj

Posts : 2
Join date : 2012-10-21
Age : 30
Location : Angola

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum