TAA Tools
SNDTCPOUTQ      SEND TCP OUTPUT QUEUE                  TAATCPI

The Send TCP  Output Queue command sends  all spooled files in  a named
output  queue   to  another  system  using  TCP.     The  command  uses
SNDTCPSPLF for each spooled file to be sent.

To use SNDTCPOUTQ, ensure the following:

  **   The QTMPLPD profile must be enabled.

  **   The  TELNET server must be running  on the remote system, if not
       enter:

            STRTCPSVR    SERVER(*TELNET)

  **   The LPD  server must  be running on  the remote  system, if  not
       enter:

            STRTCPSVR    SERVER(*LPD)

A typical SNDTCPOUTQ command would be:

             SNDTCPOUTQ    OUTQ(xxx) RMTSYS(sss) PRTQ(qqqq)

All  spooled files  in the  named  output queue  would be  sent to  the
remote system.

The  command defaults for DESTTYP and  TRANSFORM differ from SNDTCPSPLF
to simplify sending to another i5 System.

If USERA sends to  another system where USERA  is a known profile,  the
spooled files will be owned by USERA.

SNDTCPOUTQ escape messages you can monitor for
----------------------------------------------

None.  Escape messages from based on functions will be re-sent.

Command parameters                                    *CMD
------------------

   OUTQ          The  qualified  name  of  the  output  queue  to  send
                 spooled  files from.   The  library value  defaults to
                 *LIBL.  *CURLIB may also be used.

   RMTSYS        The remote system to send  the spooled files to.   See
                 the  SNDTCPSPLF  command  help  text  for  a  complete
                 discussion.  The *INTERNETADR value is supported.

   PRTQ          The name  of the output queue on  the remote system to
                 send  the  spooled  files  to.    See  the  SNDTCPSPLF
                 command help text for a complete discussion.

   DESTTYP       The destination type.  *AS400 is the default.

                 *OTHER and  *PSF2  may also  be  specified.   See  the
                 SNDTCPSPLF   command   help   text  for   a   complete
                 discussion.

   TRANSFORM     Whether  to  transform  SCS  to  ASCII.    *NO is  the
                 default to prevent a transform.

                 *YES  may  be  specified   to  transform.    See   the
                 SNDTCPSPLF   command   help  text   for   a   complete
                 discussion.

   INTNETADR     The  internet   address  if  RMTSYS(*INTERNETADR)  was
                 specified.  See the  SNDTCPSPLF command help text  for
                 a complete discussion.

   DESTOPT       The   destination-dependent   options.       See   the
                 SNDTCPSPLF   command   help   text  for   a   complete
                 discussion.

   SEPPAGE       Whether  to  print  a  separator page.    *YES  is the
                 default.

                 *NO may  be specified  to avoid  printing a  separator
                 page.

Restrictions
------------

None.

Prerequisites
-------------

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     CVTOUTQ         Convert output queue
     EDTVAR          Edit variable
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   SNDTCPOUTQ    *CMD                   TAATCPI       QATTCMD
   TAATCPIC      *PGM       CLP         TAATCPIC      QATTCL
					

Added to TAA Productivity tools February 1, 2005


Home Page Up to Top