Hi, I had a remote server which had AcuServer installed, and some COBOL sources existed. I hope to use the compiler installed in another host to compile the remote COBOL sources which had COPY files statements.
In the Extend/AcuCOBOL documentation,
-Sp | With this option you can specify a series of directories to be searched when the compiler is looking for COPY libraries. This option is followed (as the next separate argument) by the set of directories to search.
See COPY Libraries for more information. The acurfap syntax can be used to specify a location on a system being served by AcuServer or AcuConnect. |
But when I tried to compiile the remote COBOL sources with the command :
ccbl -Lfo @.lst -Sp acurfap://192.168.21.147::/opt/acucobol/1031/sample/xmlext acurfap://192.168.21.147::/opt/acucobol/1031/sample/xmlext/example1.cbl
The errors returned that the compiler didn't find the COPY files as:
*
Data Division.
Working-Storage Section.
Copy "s-struct.cpy".
-->ERROR: Missing COPY file: 's-struct.cpy'
01 Done Pic X.
Any idea about how to solve the problem? or any suggestion about how to use a local compiler to compile the remote sources with COPY files when the sources cannot move out?