Return values, Example – HP R4.2 User Manual

Page 610

Advertising
background image

A

Summary of Commands

soft_disc

UCS 1000 R4.2 Administration 585-313-507

Issue 3 April 2000 571

channelEnd>

be sent interrupt messages. If no script is running on the

channel or if TSM does not own the channel, no action is taken for the
channel.

The

soft_disc

command

waits for a response from TSM. When it exits, TSM

has acted on all the requests for all the channels by sending disconnects to
the scripts or rejecting the requests. Scripts running on the channel receive
the ESOFTDISC event.

Return Values

If the soft_disc

is successful, a 0 value is returned. If any other value than 0

is returned, the soft_disc

command completely or partially failed. If

soft_disc

returns a value of 2, then dip_int

command failed due to

temporary condition. In this case, the user should attempt the dip_int

command again.

Example

The following example requests that TSM send interrupt messages to
channel 2.

soft_disc 2

The following example requests that TSM send interrupt messages to
channels 1 through 32.

soft_disc 1-32

Advertising