Chapter 1. Controlling and Monitoring Processes

Overview of the Command Line Interface

The Command Line Interface (CLI) enables you to submit Sterling Connect:Direct® Processes and commands from a native command line environment. You can also use the Sterling Connect:Direct Browser User Interface to perform some of these tasks.

Starting the CLI

Procedure

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 Sterling 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 Sterling Connect:Direct CLI. Type options as required:

$direct [-P string -s -t n -e nn -n name -p nnnnn -x -r -h -z]

Stopping the CLI

Procedure

Stop the CLI operation by typing Control-Dor quit at the prompt.

CLI Commands

Refer to the following table for a description of the command options and sample command entries:

© Copyright IBM Corp. 1999, 2013

1

Page 7
Image 7
IBM 4J Overview of the Command Line Interface, Starting the CLI, Stopping the CLI, CLI Commands, Bourne or Korn shell