We have an AS/400 Version V5.R4. We had a CL procedure that used SNDNETSPLF to send spooled files from one queue to another queue on the same system and keep the spooled in both queues. We can no longer use SNDNETSPLF because we have two systems (production and backup) with the same system name. Do you know of a way to send the spool files to another queue on the same system without using SNDNETSPLF?
Software/Hardware used:
ASKED:
October 30, 2008 2:27 PM
UPDATED:
September 13, 2010 11:26 PM
If you use the save restore functions I forgot to mention to save to a save file then ftp to other partition to do the restore…..Rick
Also, if you have TAATOOL you can do a DUPSPLF. This duplicates the spool file and you can send to another queue.
…TPinky
between two outq’s in the same partition? Change Spooled File Attributes (CHGSPLFA)
Hi,
You could set up a remote outq to point to the other system and use CHGSPLFA to move the spooled file to that queue or SNDNETSPLF to send it to the other queue (on the local system).
Regards,
Martin Gilbert.
…because we have two systems (production and backup) with the same system name.
Obviously, that’s the problem. Why would you want even to try having two active systems on the same network that apparently need to communicate with other while having the same names? The names are used for communication, so having the same names is always a problem… unless one system is off-line, which would make transferring spooled files tricky anyway.
If you have reasons for being set up that way, we might provide alternative solutions if you can tell us why.
In any case, you should be able to use SNDTCPSPLF instead of SNDNETSPLF.
Tom