2011 Aug 13 10:51 AM
Hey guys,
is there an easy way to copy/move a file from one directory on application server to an other directory? I know i could use the commands OPEN DATASET and so on. Is there an other way to do this via a function module?
thx,
M.
Moderator Message: Please search before posting, this has been discussed many times in the forum. All points unassigned
Edited by: Suhas Saha on Aug 13, 2011 10:28 PM
Hey guys,
is there an easy way to copy/move a file from one directory on application server to an other directory? I know i could use the commands OPEN DATASET and so on. Is there an other way to do this via a function module?
thx,
M.
Moderator Message: Please search before posting, this has been discussed many times in the forum. All points unassigned
Edited by: Suhas Saha on Aug 13, 2011 10:28 PM
2011 Aug 13 12:00 PM
2011 Aug 13 4:36 PM
Hi,
You can use the below statement (For more details, refer F1 help).
Open dataset: Creates/Appends data to a file on application server
Read dataset: Reads the data from the existing file on application server
Transfer: Writes line by line on to the application server file.
Close dataset: Closes the file on application server
Delete dataset: Deletes the existing file on the application server.
Or check: CG3y and CG3Z transaction
Regards,
Shiva
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |