ISPF variables

The ISPF variables shown in Table 1 are used to indicate to an application that ISPF is running on behalf of a client and to allow the application to provide information to the client to help process the application's panels.

Table 1. ISPF variables used to indicate ISPF is running on behalf of a client
Variable name Description
ZGUI If ISPF is communicating with a client using the JSON API, the variable ZGUI has a value of CLIENT.
ZCLIENT If ISPF is communicating with a client the JSON API, variable ZCLIENT has a value of JSON.
ZDYNSCR When about to display a panel with a dynamic area that can be scrolled, the application can set the value of this variable to indicate whether the dynamic area can be scrolled up, down, left, or right on the next display. The variable value must be 4 bytes:
Byte 1
Set to Y when the area can be scrolled up.
Byte 2
Set to Y when the area can be scrolled down.
Byte 3
Set to Y when the area can be scrolled left.
Byte 4
Set to Y when the area can be scrolled right.
ZTBLSCR When about to issue a table display and the application is using a variable model line to dynamically build the display area for the table rows, the application can set the value of this variable to indicate whether the table display can be scrolled up, down, left, or right on the next display. The variable value must be 4 bytes:
Byte 1
Set to Y when the table can be scrolled up.
Byte 2
Set to Y when the table can be scrolled down.
Byte 3
Set to Y when the table can be scrolled left.
Byte 4
Set to Y when the table can be scrolled right.