Is there a way to automate the ‘Receive Files from Host’ command’?
25 pts.
0
Q:
Is there a way to automate the 'Receive Files from Host' command'?
I need to automatically run the Receive Files from Host command after business hours. Is there a CLP command to accomplish this with an example?
Thanks,
LWK
ASKED: Sep 18 2008  12:31 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
2500 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Question.
You're receiving files from the iSeries to a PC running iSeries Access?

If so, you can probably do this using some Windows scripting and Windows scheduling..
Or you can set up a PC batch program to pull the file via FTP from the iSeries and schedule that through Windows.

You can also send the files from the iSeries system to an FTP server you can set up a batch job on the iSeries to do that.

As far as CL commands, there is the STRPCO and STRPCCMD CL commands. The STRPCCMD will executer a command on the PC - which could be a script that downloads the file.. Seems too complicated to me.. And, I think you need to execute the command from the PC you will want to send the file from.

Regards
Mike
Last Answered: Sep 19 2008  4:16 PM GMT by Mcl   2500 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

WoodEngineer   2280 pts.  |   Sep 22 2008  5:00PM GMT

Check out IBM’s documentation for rfrompcb.exe and rtopcb.exe.
You can find these programs on a PC where IBM’s Client Access is installed.
These IBM-supplied programs are designed to transfer data to and from the AS/400 via commands that can be called on your PC.
In a former life we used the rfrompcb.exe to transfer data collected from our retail sites to the AS/400. Every morning when we arrived the data was sitting on the AS/400, ready for review. The whole process ran from a script that executed on a PC. These commands also work just find from a .BAT file.

 

Graybeard52   2435 pts.  |   Sep 23 2008  9:22PM GMT

Actually both rfrompcb and rtopcb have been replaced (although they still work) by rxferpcb.exe

 

0