..You will need an os command for that.
Either use the os-copy or os-command statement.
Have a look at the context help for OS-COPY. I don't think you have the syntax correct. Also, you need to post more info on why it didn't work if you want us to help. Did you get an error? What was it? How do you know it didn't work?
I would create a shell script that acutally does the copy. Furthermore since os-command does not return any os error ( exit status of the script ) you would need to implement your own error handling. Usually I do this in having the script create a particular file that will only exist when something went wrong that includes the error message or exit status. After having invoked the shell script with OS-COMMAND I usually then check whether that particular file exists. If it does exist I know that something went wrong and then I would parse the error message or exit status to handle it in the ABL.
Heavy Regards, RealHeavyDude.
This is good advice.
I would create a shell script that acutally does the copy. Furthermore since os-command does not return any os error ( exit status of the script ) you would need to implement your own error handling. Usually I do this in having the script create a particular file that will only exist when something went wrong that includes the error message or exit status. After having invoked the shell script with OS-COMMAND I usually then check whether that particular file exists. If it does exist I know that something went wrong and then I would parse the error message or exit status to handle it in the ABL.
Heavy Regards, RealHeavyDude.