Previous Topic: &ZVTAMSA

Next Topic: &ZWINDOW#


&ZWINDOW

Returns the identifier of the current window.

Each window is assigned a number-either 1 or 2. &ZWINDOW returns the number of the window under which the NCL process is executing.

Example: &ZWINDOW

&IF &ZWINDOW = 2 &THEN +
    &GOTO .SECOND-WIND

Note: The SPLIT and SWAP commands is used to open a second window. The window number is displayed on the supplied primary menu.

More information:

&ZWINDOW#