skip to main content

Library Routines : C$FSCOPY

C$FSCOPY
The C$FSCOPY library routine copies an indexed file by invoking the proper file handler functions.
FILE-PREFIX settings are ignored by this routine.
This routine is particularly suitable for copying files that reside on a remote file server like c-tree or isCOBOL File Server. In order to copy files on the local machine, C$COPY routine should be used instead.
Indexed files whose record is larger than 64KB are not supported by C$FSCOPY.
Syntax:
 CALL "C$FSCOPY" USING inputFile 
Parameters:
Return code:
Examples:
Example - Make a backup copy of an indexed file
call "c$fscopy" using "cust"
if retCode not = 0
   display message "File backup has failed"

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