Copy a file from AS/400 to a windows folder

"Silva Marco" <Marco.Silva-+Es040js08FWk0Htik3J/[email protected]> Wed, 29 Aug 2007 20:36:36 +0200
Newsgroups gmane.comp.lang.as400.mi
Message-ID <2FCC8F9C5A77974E9325086EAE495F0B02BE9D1B@seudnzex991.mwbrands.net>
Hello,

 

I'm trying to use the command CPYTOPCD to copy a file (witch is a result
of a query) from AS/400 to a folder on my windows server folder.

 

Source:

Library: eiqry01

File: itemmaster

 

 

Destiny:

Folder: \\10.12.12.2\e$\shared\seam
<file:///\\10.12.12.2\e$\shared\seam> 

File: itemmaster.txt

 

I also would like to make this running everyday at a specific time. 

 

How can I do it?

 

Please help.

 

Regards,

marco

 

_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.