DB2 Version 9.7 for Linux, UNIX, and Windows

ECHO command

Permits the user to write character strings to standard output.

Authorization

None

Required connection

None

Command syntax

Read syntax diagramSkip visual syntax diagram
>>-ECHO--+------------------+----------------------------------><
         '-character-string-'   

Command parameters

character-string
Any character string.

Usage notes

If an input file is used as standard input, or comments are to be printed without being interpreted by the command shell, the ECHO command will print character strings directly to standard output.

One line is printed each time that ECHO is issued.

The ECHO command is not affected by the verbose (-v) option.