Re: Copy a file from AS/400 to a windows folder

Pete Hall <[email protected]> Wed, 29 Aug 2007 19:36:45 -0500
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Try using the CPYTOIMPF command. I use that to write data to NT shares
all the time.

Pete Hall
[email protected]
http://pbhall.us


Silva Marco wrote:
> 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.
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1hEdpcZsDl8OX6kRAvn/AKCF/fzIDFw6aYHtgYzOaBcIB6347wCfaVog
qqoGj7mRNV6AwxcpOCMMPf8=
=aFtn
-----END PGP SIGNATURE-----
_______________________________________________
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.