Previous Topic: Enter Data Into a Virtual Screen

Next Topic: Issue the TYPE Command

Use Attention Keys on a Virtual Screen

You cannot use attention keys directly on a virtual screen because ISPF controls the use of these keys. Attention keys include Enter, CLEAR, ATTN, PA1, PA2, PA3, and all PF keys.

To use one of these keys, issue the TYPE command from the Command field at the top left corner of the panel. Use the following syntax:

Type
  {*|termname}
  {keyname}

Following is a description of the required keywords:

*

Type the current terminal ID defined with the SETTERM command.

termname

Specifies the virtual terminal for which you want to type.

keyname

Specifies the name of the attention key you want to use. Values are Enter, CLEAR, ATTN, PA1, PA2, PA3, and PF1 through PF24.

Note: You can use the ISPF KEYS command to assign TYPE commands to real PF keys. For details, see Using the ISPF Command KEYS on the Virtual Terminal Screen Panel in this chapter.