Copy from Remote IBM i to Local Windows via UCMD Manager
Copy from Remote IBM i to Local Windows via Universal Command Manager for IBM i
The following figure illustrates the copying of a file initiated by Windows, which copies the first member of a file from IBM i to a file on the Windows system.
UCMD running on Windows invokes STRUCP via a UCMD Server running on IBM i. The FRMFILE parameter overrides input from stdin to the file mylib/file
. Since the FRMMBR parameter is not used, input defaults to the file member *FIRST. Data is transferred from mylib/myfile
to D:\tmp\File400.txt
via UCMD Manager stdout.
The command STRUCP is installed as part of UCMD Server on the IBM i system.
The file is copied as a text file, since the default transfer mode is text.
Command Line Options
The command line options used in this example are:
Option |
Description |
Remote command to execute on the IBM i. | |
Directs the command to a computer with a host name of sysName. | |
IBM i user ID with which to execute the command. | |
Password for the user ID. |
Components
Universal Command Manager for Windows
Universal Command Server for IBM i