The following table describes the things to consider when using the DISPLAY command.
Topic | Usage Notes |
---|---|
Conflicting Write Operations on Network-attached Systems | On network-attached client systems, if the same file is specified to redirect stdout as the file in a DISPLAY command, the results may be incomplete due to conflicting write operations to the same file. |
Displaying Apostrophes in the Text String | To display an apostrophe within the text string, use two consecutive apostrophes (single quotes) to distinguish it from both the single quotes enclosing the string and a regular double-quote character. |
Specifying the System Console/Standard Output Device | The asterisk (*) character can be used as the fileid specification to direct the display messages to the system console/standard output (stdout) device. The system console is the:
For more information about the display screen and standard output devices, see File Requirements. |
Utility Variables | Utility variables are replaced by their values before text is displayed. This is done by preceding the variable name with an ampersand (&) character. To display the name of a utility variable, code two ampersand characters instead of one. |
z/OS fileid Usage Rules | A DDNAME must obey the same construction rules as Teradata SQL column names except that:
The DDNAME must obey the applicable rules of the external system and may reference a sequential or VSAM data set. If the DDNAME represents a data source on magnetic tape, the tape may be either labeled or nonlabeled, as supported by the operating system. |