ECHO

Read syntax diagramSkip visual syntax diagram ECho 1nn

Authorization

Privilege Class: G

Purpose

Use ECHO to put your terminal in the echo environment.

Note: In the echo environment, any input line you enter is transmitted back to your terminal nn times.

Operands

1
nn
identifies the number of times that the line is repeated. The default is 1. An entry that is not valid—that is, one that is less than 1 or greater than 99 or contains nonnumeric characters is treated as 1.

Usage Notes

  1. After the line has been repeated the specified number of times, CP issues another read to the display so you can enter another data line.
  2. No line editing is done; the output line is the same as the input line and may contain any of the logical line editing symbols.
  3. The responses and redisplayed input lines are sent to the terminal only. They are not passed to the virtual machine.

Responses

Response 1:
ECHO entered;  to terminate test, type end.
is displayed after you have issued the ECHO command to indicate that your virtual machine has entered the echo environment.
Response 2:
Enter line.
is displayed to prompt you to enter an input line. If you enter the reply END, you exit from the ECHO environment.

Messages

  • HCP002E Invalid operand - operand