|
It is quite simple just type CPYTOPCD FROMFILE(&FILE) TOFLR(IBM) , &File is the name of your file. You must have the relevant access to folder IBM, to check this type WRKFLR on command line on AS400, IBM should display, if not it does not exist or you do not have access, and will require access to be granted. Note you also need a directory entry to use folders from AS400 (ADDDIRE) If it dislays the authority can be checked using option 14, also if option 5 is used you should be able to see the file, after the command has been run. Hope this helps, you may do bette posting these sort of things on the midrange-l, as it is not really an RPG issue. Hope this helps -----Original Message----- From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On Behalf Of Ahmed Hussain Sent: Tuesday, 1 May 2001 4:42 PM To: RPG400-L@midrange.com Subject: Re: CPYTOPCD command Hi Nick, Could you send me the detial way of doing this thing, I appreciate Thanks and Regards Ahmed Hussain ----- Original Message ----- From: "Nick Runnalls" <nick_runnalls@hawkbridge.com> To: <RPG400-L@midrange.com> Sent: Tuesday, May 01, 2001 8:17 AM Subject: RE: CPYTOPCD command Just Use 'IBM', the drive letter E: is just used on your PC, I assume mapped, as a network drive to the AS400 IFS QDLS -----Original Message----- From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On Behalf Of Ahmed Hussain Sent: Tuesday, 1 May 2001 2:03 PM To: RPG 400 Subject: CPYTOPCD command Hi family, Have been trying to copy a Physical File to a PC folder, with CPYTOPCD command, but I wonder how to give TOFLR parameter. Have tried different combinations, “E:/IBM” , “/IBM” etc. every time message appears that "Folder E:/IBM not found" . (Have one folder on drive “E” with “IBM” name. Could some body tell me how to overcome to this problem, any help would be appreciated. Thanx Ahmed Hussain +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.