80 pts.
 What can be used instead of SNDNETSPLF to send spooled file from one queue to another queue on the same AS/400 system
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

Answer Wiki:
Easiest Way is to use Operations Navigator then it is Copy and paste it will give you option to move or copy. Another way is to use the V5R4 option on Save and Restore commands, It now saves spool files.....Rick
Last Wiki Answer Submitted:  October 30, 2008  3:19 pm  by  Rickmcd   1,480 pts.
All Answer Wiki Contributors:  Rickmcd   1,480 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 1,480 pts.

 

Also, if you have TAATOOL you can do a DUPSPLF. This duplicates the spool file and you can send to another queue.

…TPinky

 4,165 pts.

 

between two outq’s in the same partition? Change Spooled File Attributes (CHGSPLFA)

 44,180 pts.

 

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.

 23,625 pts.

 

…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

 108,055 pts.