A range of command line utilities and interfaces are available for creating, building, debugging and running COBOL applications.
. /opt/microfocus/VisualCOBOL/bin/cobsetenv
Note that cobsetenv is only compatible with POSIX-like shells, such as bash, ksh, or XPG4 sh. It is not compatible with C-shell or pre-XPG4 Bourne shell.