Beruflich Dokumente
Kultur Dokumente
Once you are to the point where you can get that transfer to run, test it
using the batch program executables. The batch executables will run the
saved transfer profiles with no user interaction. The batch executables
are located in the Client Access program directory. Usually that location
is C:\Program Files\IBM\Client Access\ and the programs themselves are
RTOPCB.EXE for transfers from the IBM System i products system to the
PC or RFROMPCB.EXE for transfers to the System i from the PC.
Notice that neither the saved transfer request nor the RTOPCB
command accept a user profile or password as a parameter. The
RTOPCB and RFROMPCB batch data transfer commands always run
using the user profile defined as the default profile for the System i. To
avoid prompting (or a hang due to the prompting in Windows
NT/2000/2003/XP/Vista) use Operations Navigator or iSeries Navigator
to verify that you have a default user ID defined for the System i. Open
Operations Navigator or iSeries Navigator, right-click on the System i
name, select Properties, and click on the Connection tab. Verify that Use
default user ID, Prompt as needed or Use Windows user name
and password, no prompting is selected. Sign on the System i once
to cache the password. Opening the System i in Operations Navigator or
iSeries Navigator will force a sign on if the password is not already
cached.
A user ID and password can be specified when the transfer request is
initiated if the RXFERPCB command is used instead of RTOPCB or
RFROMPCB .
The service for Client Access Remote Command must be started before
the remote command can be sent to the PC. By default, it is not started.
Windows 9x/ME
You must first configure the security options using the remote command
tab of the Client Access properties in the control panel. In the diagram
below any user from any system can run a remote command because of
the "*.*" entry. The entry for RCHASSC2.RCHLAND.IBM.COM and
RCUSER is an example of restricting access to a system and particular
user (the "*.*" entry would have to be removed for this entry to have
any affect). Note that system names must be the fully-qualified TCP/IP
host name of the System i.
Windows NT/2000/2003/XP/Vista
System i Access for Windows Remote Command is started by accessing
Windows Control Panel > Administrative Tools , and then double-clicking
on the Services icon. If the service is to start at boot up, change the
Startup Type property to Automatic. To prevent hangs in Windows
NT/2000/2003/XP/Vista caused by invalid, missing, or expired
passwords, also check the Allow service to interact with desktop
option. In Windows 2000/2003/XP, the services panel will look like this:
Now that everything is configured, run the transfer. To start the data
transfer from the System i, run the RUNRMTCMD command from an
operating system command line or CL program. The parameters are
shown below:
RMTUSER(V2KEA196) RMTPWD('Password')
with the following command:
RUNRMTCMD CMD('c:\Progra~1\IBM\Client~1\rtopcb.exe /s
C:\QCUSTCDT.DTF') RMTLOCNAME('9.10.53.112' *IP)
RMTUSER(V2KEA196) RMTPWD('Password')
In Windows 9x/ME, the user ID and password are those configured in
the Client Access remote command properties as shown above.
Press the Enter key. This runs the batch program on the PC. Successful
completion of the RUNRMTCMD command does not imply that the
actual transfer completed successfully. To verify that the transfer
completed successfully, run the WRKSPLF command, and view the last
QSYSPRT spooled file. It should look similar to the sample below: