Link to home
Start Free TrialLog in
Avatar of muhammasif
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.  
                                                                       
ASKER CERTIFIED SOLUTION
Avatar of FletcherTheCat
FletcherTheCat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SRohit
SRohit

Hello muhammasif,

The best way to do is thru Operation navigator.
Thats the easy to do way in windows style.

Regards

rohit
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.dtf') 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
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