Starting the CLI

  1. If you have not defined the NDMAPICFG environment variable, type the following command for the appropriate shell, where d_dir is the path to the IBM® Connect:Direct® subdirectory.

    In the C shell:

    % setenv NDMAPICFG d_dir/ndm/cfg/cliapi/ndmapi.cfg

    In the Bourne or Korn shell:

    $ NDMAPICFG=d_dir/ndm/cfg/cliapi/ndmapi.cfg
    $ export NDMAPICFG
  2. Type the following command to invoke IBM Connect:Direct CLI. Type options as required:
    $ direct [-P string -s -t n -e nn -n name -p nnnnn -x -r -h -z]