Problem:
Is there a way to copy a file to/from a UNC path from a COBOL program?
Resolution:
You could do a CALL "SYSTEM" or use the BinaryFileCopy.zip attached.
The library it contains will copy a file from a network UNC to a printer via a UNC from RM/COBOL. The attachment includes the C source, the CodeBridge template and a COBOL example.
Disclaimer
This is not an official Liant Software Corporation product and is therefore unsupported although enhancements and fixes will be considered time permitting. Please forward any queries to the London office of Liant Software at support@liant.co.uk.