muhammasif
asked on
CPYTOPCD
I'm trying to copy a file to my PC. Here are the values that I'm using:
========================== ==========
From file . . . . . . . . . . . > QPJOBLOG
Library . . . . . . . . . . . > SPLFACTORY
To folder . . . . . . . . . . . > SPLFACTORY
From member . . . . . . . . . .
To document . . . . . . . . . .
Replace document . . . . . . . .
Translate table . . . . . . . . *DFT
Library . . . . . . . . . . .
Format of PC data . . . . . . . *TEXT
========================== ========== =====
I'm getting Folder name not correct.
I do have a folder called SPLFACTORY under C:/ on my PC.
Thanks.
==========================
From file . . . . . . . . . . . > QPJOBLOG
Library . . . . . . . . . . . > SPLFACTORY
To folder . . . . . . . . . . . > SPLFACTORY
From member . . . . . . . . . .
To document . . . . . . . . . .
Replace document . . . . . . . .
Translate table . . . . . . . . *DFT
Library . . . . . . . . . . .
Format of PC data . . . . . . . *TEXT
==========================
I'm getting Folder name not correct.
I do have a folder called SPLFACTORY under C:/ on my PC.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
If you want to automate the download and you are OK with using the Client Access file transfer utility you can issue two CL commands from the AS/400 to automatically run the transfer :
1. STRPCO
2. STRPCCMD PCCMD('C:\Data\Transfer.dt f') PAUSE(*NO)
The first is the "Start PC Oragniser" command and the second is the "Run PC Command" command.
Remember to Set up the transfer to start automaticaly and to close down automatically, this is done from File>Properties>Startup Tab. You can also specify a username ans password under the connection tab but remember this could be a security risk.
Hope this helps
Reactor
If you want to automate the download and you are OK with using the Client Access file transfer utility you can issue two CL commands from the AS/400 to automatically run the transfer :
1. STRPCO
2. STRPCCMD PCCMD('C:\Data\Transfer.dt
The first is the "Start PC Oragniser" command and the second is the "Run PC Command" command.
Remember to Set up the transfer to start automaticaly and to close down automatically, this is done from File>Properties>Startup Tab. You can also specify a username ans password under the connection tab but remember this could be a security risk.
Hope this helps
Reactor
You can use Client Access 400.
Try to use
1 "C:\Program Files\IBM\Client Access\cwbtf.exe" /t or
2 "C:\Program Files\IBM\Client Access\rtopcb.exe" in DOS
but you must have the TTO files. You can get if you use choise no:1. Save as Filename.tto
Try to use
1 "C:\Program Files\IBM\Client Access\cwbtf.exe" /t or
2 "C:\Program Files\IBM\Client Access\rtopcb.exe" in DOS
but you must have the TTO files. You can get if you use choise no:1. Save as Filename.tto
The best way to do is thru Operation navigator.
Thats the easy to do way in windows style.
Regards
rohit