skip to main content

Library Routines : AS$COPY

AS$COPY
In an Application Server environment, the AS$COPY library routine copies a file from the server to the client or vice versa.
The AS$COPY library routine is deprecated and supported only for compatibility to previous versions. The C$COPY routine should be used instead.
Syntax:
 CALL "AS$COPY" USING sourceFile 
Parameters:
Return code:
returnCode can be any numeric data item and provides additional information:
Examples:
Example - Copy a report text file from the server to the client
move "/myapp/myreports/custlist.txt" to serverReport
move "CLIENT:c:/tmp/reports/custlist.txt" to clientReport
call "as$copy" using serverReport

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left