z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DISPLAY—control the display

z/OS ISPF User's Guide Vol II
SC19-3628-00

The DISPLAY command allows you to view data that would not normally be displayed, such as carriage control characters and Unicode data. For other nondisplayable data you can specify a character to represent each character that cannot be displayed.

The DISPLAY command has two formats. The first is used to display carriage-control characters and other nondisplay characters. The second allows data stored using a Unicode CCSID (Coded Character Set Identifier) to be displayed using the CCSID of the terminal.

Read syntax diagramSkip visual syntax diagram
Carriage-control characters and other nondisplay characters

                      .-NOCC-.   
>>-DISPLAY--+------+--+------+---------------------------------><
            '-char-'  '-CC---'   

You must enter at least one operand, but you can enter them in any order. If you enter only one operand, the other operand retains its current value.

where:

char
The character you want to use to represent characters that cannot be displayed on the screen. It can be a single character, or a single character enclosed in apostrophes (') or quotation marks ("). If you specify a blank as the character, you must enclose it in apostrophes or quotation marks.
CC
Shows that carriage control characters are to be displayed and are to be considered part of the data.
NOCC
Shows that carriage control characters are not to be displayed and are not to be considered part of the data.

Both operands are stored in your user profile and are in effect whenever you are using Browse. You need to reenter the DISPLAY command only if you want to change one of the operands.

The first settings for display mode are period (.) and NOCC, but the carriage control character status has no effect if the data that you are browsing has no carriage control characters.

Read syntax diagramSkip visual syntax diagram
Unicode data

>>-DISPLAY------------------------------------------------------>

>--+-+--------------------------------+--+------------------------------+--+-CCSID--ccsid_number-+-+-><
   | '-LINE--+----------------------+-'  '-COLS--+--------------------+-'  +-ASCII---------------+ |   
   |         '-start_line--end_line-'            '-start_col--end_col-'    +-USASCII-------------+ |   
   |                                                                       +-EBCDIC--------------+ |   
   |                                                                       +-UCS2----------------+ |   
   |                                                                       +-UTF8----------------+ |   
   |                                                                       +-UTF16---------------+ |   
   |                                                                       '-UTF32---------------' |   
   '-RESET-----------------------------------------------------------------------------------------'   

where:

LINE start_line end_line
Specifies the number of the first and last lines within which Unicode data is displayed. If the LINE keyword is not specified, the DISPLAY command applies to the all lines in the data. If only one value is specified, the DISPLAY command only applies to that line.
COLS start_col end_col
Specifies the number of the first and last column within which Unicode data is displayed. If the COLS keyword is not specified, the DISPLAY command applies to the full range of columns in the data. If only one value is specified, the DISPLAY command only applies to that column.
CCSID ccsid_number | ASCII | USASCII | EBCDIC | UCS2 | UTF8 | UTF16 | UTF32
Specifies the CCSID of the data. The CCSID represents a code page and character set combination.
RESET
This format of the command resets all definitions made with the DISPLAY command. All data is displayed as though it had been stored using the terminal CCSID.

LINE and COLS are optional. LINE, COLS, and CCSID can be specified in any order.

You can issue multiple DISPLAY commands, in which case the specifications are merged. If a range of data is specified more than once, later specifications take precedence over earlier specifications. For example, if you specify one CCSID that applies to rows 3 to 10, then specify another CCSID that applies to columns 30 to 60, the second CCSID takes effect in the area where the DISPLAY commands overlap—that is, columns 30 to 60 in rows 3 to 10.

When you exit the current Browse session, all definitions are reset (as though you had entered DISPLAY RESET).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014