This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

-Sp comiler option and acurfap syntax

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?

  • Verified Answer

    +1

    There have been a few fixes involving acurfap. I tested with the latest release, and this command worked

    ccbl32 -sp acurfap://nwb-rh74v2xd::/home1/hub/staff/sfh/1051/sample/xmlext acurfap://nwb-rh74v2xd::/home1/hub/staff/sfh/1051/sample/xmlext/example1.cbl

    this relies on AcuServer being run on the default 6523 port. I tried the above using an IP address, that also worked.

    SW Engineering(QA)  

    Although I am an OpenText employee, I am speaking for myself and not for OpenText.
    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button