Command line reference

A range of command line utilities and interfaces are available for creating, building, debugging and running COBOL applications.

Important:
  • On Windows, the commands listed in this section must be executed from a Visual COBOL command prompt.
  • On UNIX (for local or remote development), if you installed Visual COBOL in a directory other than the default location, which is /opt/microfocus/VisualCOBOL, you must run the following script before you can use the command line tools:
    . <product-install-dir>/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.