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

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

Join the forum, it's quick and easy

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

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

Go down

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

Post  prince selvaraj 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 : 37
Location : Angola

Back to top Go down

Back to top

- Similar topics

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