Sample Command

Option

Description

Value

Entry

 

 

 

 

-P

Identifies the custom string to

text string

$ direct

 

use at the command line

Up to 32 characters.

-PNewPrompt

 

prompt.

$ direct -P”Test CD

 

 

 

 

If the prompt string includes

 

on Medea”

 

spaces or special characters,

 

 

 

enclose it in single or double

 

 

 

quotation marks.

 

 

 

The prompt string can also be

 

 

 

specified in the ndmapi.cfg file.

 

 

 

If a prompt string is specified

 

 

 

on the command line and in

 

 

 

the ndmapi.cfg file, -Ptakes

 

 

 

precedence.

 

 

 

When the default prompt

 

 

 

(“Direct”) is overridden, the

 

 

 

new prompt string is shown at

 

 

 

the command line prompt and

 

 

 

in the welcome banner display.

 

 

 

 

 

 

-s

Suppresses standard output.

none

$ direct -s

 

Use this option to view only

 

 

 

the completion status of a

 

 

 

command.

 

 

 

 

 

 

-t n

Enables the CLI/API trace

1 2 4

$ direct -t 4

 

option. The level number, n,

Specify one of the

 

 

identifies the level of detail in

 

 

the trace output.

following level

 

 

 

numbers:

 

 

 

1—Provides function

 

 

 

entry and function exit.

 

 

 

This is the default.

 

 

 

2—Provides function

 

 

 

entry and exits and

 

 

 

basic diagnostic

 

 

 

information, such as

 

 

 

displaying values of

 

 

 

internal data structures

 

 

 

at key points in the

 

 

 

execution flow.

 

 

 

4—Enables a full trace.

 

 

 

All diagnostic

 

 

 

information is

 

 

 

displayed.

 

 

 

 

 

2Sterling Connect:Direct for UNIX: User Guide

Page 8
Image 8
IBM 4J manual Sample Command, Option Description Value Entry