Previous Topic: Performing a Dialog with a Serviced SystemNext Topic: Using Scripts


Creating a Dialog Script

The dialog script can use one or more of the commands shown in the following table.

Command

Description

BREAK

Sends a halt sequence or break signal to the console.

HALT

Sends a halt sequence or break signal to the console.

RATE

Sets the period of time in seconds between which the dialog should pause before executing the next SEND command.

SEND

Sends a specified string to the console.

SPEED

Sets the time, in milliseconds, that the dialog is to pause before sending the next character.

UNLOCK

Disconnects a user currently connected to the system the dialog script is running on.

WAIT

Stalls for a timeout number of seconds, or until the quoted string occurs on the console line. If a WAIT times out without the string being seen, the dialog script exits.

If you do not specify a system, the one with its banner line highlighted will be used.

This is the same as performing a dialog from your operating system command line. See Chapter 6, “Using Console Manager From the Command Line Interface,” for more information.

See Appendix E, “Sample DIALOG File” for an example dialog procedure.