RXS_moveFile
From Wiki
|
| User Guide |
Contents |
Description
This subprocedure allows the programmer to move an existing IFS file to a different folder in the IFS. Additionally, it allows for the file to be renamed in the new location.
Prototype
D RXS_moveFile pr 10i 0 D pFrom value like(RXS_FilePath) D pTo value like(RXS_FilePath)
Parameters
- pFrom
- Specify the qualified name of the existing IFS file before it is moved(e.g. /myfolder/myfile.xml)
- pTo
- Specify the new qualified name of the IFS file after it has been moved(e.g. /newfolder/myfile.xml or /newfolder/newfilename.xml)
Return value
None.
Notes / Examples
This subprocedure can also be used to rename an existing IFS file by specifying the same path in the pFrom and pTo parameters with only the file name (or extension) being modified (e.g. pFrom = /myfolder/myfile.xml; pTo = /myfolder/newfilename.xml).
