Due to a system crash, we are now working off our DR system and we are
looking to go back to using the production system this weekend.
Its been many winters have passed since I last replicated spool files from
one AS/400 to another
The procedure that I last used was as follows (with thanks to Tim Granatir,
On AS/400 that contains the spool file:
Step 1. Create a physical file that is at least 1
character bigger than the size of the spool file
you wish to replicate.
Step 2. Copy the spool file into your database
file. Make sure you specify *FCFC for the control
Step 3. Transfer this database file to your
target AS/400 using whatever method you choose
(FTP, File Transfer, etc.).
On AS/400 that you wish to print:
Step 4. Override print file to specify control
Step 5. Copy your database file to the spool
Your print file is now duplicated on your target
CRTPF FILE(MYLIB/FILE133) RCDLEN(133)
CPYSPLF FILE(MYSPLF) TOFILE(MYLIB/FILE133) JOB
Transfer FILE133 in library MYLIB to your target
OVRPRTF FILE(QSYSPRT) CTLCHAR(*FCFC)
CPYF FROMFILE(MYLIB/FILE133) TOFILE(QSYSPRT)
However, we may have a LARGE number of these spoolf files to migrate
We are presently on V5r4.
Is there a simpler and/or more automated method to achieve this?
Or do I have to cut and paste the spool file attributes (Job, User, Number,
File and Number) of each and every spool file that needs to be migrated
Thanks in advance
"If you're going through Hell, keep going" - Winston Churchill