I've tried a few times to google the following: "microfocus setup linux cobsetenv parameter". One of the links returned is:
Download and Installation Procedure - Micro Focus Community
Before installing on Oracle Linux, you must create a number of symbolic links. ... To install in a different location use the -installlocation="Location" parameter to specify an alternative directory ... /opt/microfocus/VisualCOBOL/bin/cobsetenv ...
which looks as though it's going to help. Whenever I click on the link though I get:
