POKE

Executes a single TCL command on a specified port.

Syntax

POKE portNumber {command}

Syntax Elements

portNumber The number of the port on which the command will be executed.

command The TCL command to be executed. If omitted, a carriage return is sent to the port.

Restrictions

A target port that receives a command issued with POKE will only execute the command if TANDEM is enabled on that port.

Comments

Caution

POKE should be used with care. Always check that the target port is ready to receive the command you are sending. If the port is not awaiting user input, the results cannot be predicted.

The POKE command is initially only available in the SYSMAN and SYSPROG accounts. It can be copied to other accounts if required.

Example

POKE 402 START-SUPPORT-LOG

Starts support logging on port 402.