Attachmate Worldwide  |   Contact Us  |   NetIQ.com
Home » Support » Solution Library

Technical Notes

Enabling File Transfer on an AS/400 over TCP/IP in Reflection for IBM 2008 or 2007
Technical Note 2224
Last Reviewed 06-Jul-2007
Applies To
Reflection Standard Suite 2008
Reflection for IBM 2008
Reflection for IBM 2007
Summary

This technical note explains how to start the required LIPI servers on an AS/400 to enable file transfer over TCP/IP. Using Reflection for IBM 2008 or 2007, files can be transferred without starting a terminal session.

Verifying Host Services on the AS/400

Before you can use Reflection to transfer files over TCP/IP, you must verify whether Host Servers is installed on the AS/400, and then start the LIPI servers on the AS/400.

To verify whether Host Servers is available, follow these steps:

  1. Open Reflection and connect to the AS/400 with a terminal session.
  2. Enter the command DSPSFWRSC.
  3. In the Software Resource list, look for at least one Option 12 (OS/400 - Host Servers).

If Option 12 is listed, continue with the next section. If you do not see Option 12 listed, you will need to install the host servers from the OS/400 installation disks before continuing.

Starting the LIPI Servers

The LIPI servers must be started because they are not available by default.

Note: You need *ALLOBJ system administrator privileges on the AS/400 to successfully complete these instructions.

On the AS/400, you can start the LIPI servers all at once or individually.

  • To start all OS/400 LIPI servers, use this command:
STRHOSTSVR *ALL

Note: After executing the above command you may see the error, "Host server daemon jobs unable to communicate using IPX." You can ignore this error because IPX is not needed.

  • To start the required LIPI servers individually, use these commands:
STRHOSTSVR *CENTRAL
STRHOSTSVR *DATABASE
STRHOSTSVR *SIGNON
STRHOSTSVR *SVRMAP

Determining Which LIPI Servers Are Started

To confirm which LIPI servers are started, follow these steps:

  1. On the AS/400, issue this command:
NETSTAT
  1. Select option 3: Work with TCP/IP connection status.
  2. Look for the following items under the Local Port heading to verity that the required LIPI servers are running (names may be displayed truncated):

For non-SSL:

as-central
as-database
as-signon
as-svrmap

For SSL:

as-central-s
as-database-s
as-signon-s

Japanese and Other Double-byte Systems

The NETSTAT command will not display the LIPI servers in Japanese or other double-byte operating systems. Instead, look for the TCP port numbers of the LIPI servers.

The following table lists the default ports for the required LIPI servers:

LIPI Server
TCP Port Number
(Default)

SSL Port Numbers
(Default)

Central server
8470
9470
Database server
8471
9471
Signon server
8476
9476
Server mapper
449 (must not be changed from default)
none

You can use non-default ports for all of the servers except the server mapper, which must be on port 449. This port allows the PC to query the host to determine where the other ports are mapped.

Verifying Prestart Jobs

Before you can make a connection and transfer files, one of the following prestart jobs must be started: QZDAINIT or QZDASOINIT. A prestart job is started when you start the corresponding host server daemon. The prestart job then waits and listens for an incoming connection before going to an active state.

  • QZDAINIT is for an SNA (or 802.2) connection. QZDAINIT is the Server program.
  • QZDASOINIT is for TCP/IP, specifically a TCP/IP and IPX socket connection. QZDASOINIT is the Server program, and QZDASRVSD is the Server Daemon program.

To verify whether a prestart job is running, enter the following command on the OS/400 command line:

WRKSBSJOB QSERVER

Using File Transfer in Reflection

Using Reflection, you can transfer files directly to or from the AS/400 host over TCP/IP without starting a terminal session. Follow these steps:

  1. In the Reflection Workspace, open a session document or create a new terminal session document.
  2. On the Ribbon, click the File Transfer Settings icon.
2224_0.gif
  1. The Transfer dialog box is displayed. On the Protocol tab, select AS/400.
  2. On the AS/400 tab, select TCP/IP from the Transport drop-down menu.
  3. Select LIPI from the Host TP drop-down menu.
  4. In the System name field, enter the name of the AS/400 host, if you have not already specified this information.
  5. Click OK.
  6. In the Transfer dialog box, specify the files you wish to transfer.
  7. Click the appropriate Transfer button.

Troubleshooting

If you receive the error, "TCP connection dead," check the following settings on the AS/400:

  • Verify that the LIPI servers are running. (This is the most likely cause of the error.)
  • Check whether the default ports are being used. See the table above for default values.

If non-default ports are being used, verify that the Use default ports check box is cleared in the advanced file transfer setup dialog box.

  • Check whether any of the specified ports—default or not—are blocked on the host.

To verify whether files can be transferred to or from the designated host, try a different transfer protocol, such as MPTN.

Did this technical note answer your question?

Yes    No    Somewhat     Not sure yet

Additional comments about this tech note:

Need further help? For technical support, please contact Support.