CALL "AS$COPY" USING sourceFile                        destinationFile  | 
sourceFile   | PIC X(n)  | Specifies the name of the file to be copied. In an Application Server environment, when the file name starts with "CLIENT:", the file will be copied from the client.  | 
destinationFile  | PIC X(n)   | Specifies the name of the destination file. In an Application Server environment, when the file name starts with "CLIENT:", the file will be copied to the client.  | 
0   | Operation successful, the file has been copied.  | 
1   | An error occurred, the file has not been copied.  | 
*> define serverReport and clientReport variables as pic x(n) move "/myapp/myreports/custlist.txt" to serverReport move "CLIENT:c:/tmp/reports/custlist.txt" to clientReport call "as$copy" using serverReport                      clientReport  |