>>-WSDISCON----------------------------------------------------><
Disconnects your
workstation connection. There are some restrictions to consider if
you choose to disconnect from a workstation with this command:
- At the completion of ISPF command processing, or program, CLIST,
or REXX exec execution, ISPF does not reprocess the panel from which
the command was invoked. The panel is simply relaunched to the screen
without processing, for example, the panel's )INIT section. So, if
certain constructs are defined within the panel sections based on
the ZGUI variable (nonblank indicating connection in GUI mode), these
constructs are not defined properly until after the Enter key is pressed
following the WSDISCON command.
- When disconnecting from GUI mode, the name of any group boxes
defined on the panel from which you issued WSDISCON, will display
on the screen in 3270 mode. After you press the Enter key, causing
the panel to be reprocessed, these names disappear and any panel text
under the names reappears.
- If in GUI mode and in split screen mode when you invoke the WSDISCON
command, you are disconnected from the workstation and the screen
from which you issued WSDISCON is displayed in the full 3270 emulator
session without a split line, regardless of how "Always show split
line" is set. The other ISPF sessions are hidden and available
for display after the swap command is entered. Additional split requests
cause the split line to be redisplayed, provided the "Always show
split line" setting is selected.
- If pop-up windows are displayed in GUI mode when the WSDISCON
command is issued, those pop-up windows are suspended on the 3270
session and the panels display as full-screen panels. If new addpops
are then invoked, these new panels display as pop-up windows.
- You cannot disconnect using the WSDISCON command when running
in batch GUI mode.
- If the CODEPAGE and CHARSET parameters were specified (on the
WSCON service, the Initiate Workstation
Connection panel, or the ISPSTART GUI statement) when your workstation
connection was made, these values might no longer be the host code
page and character set in 3270 mode following a WSDISCON command.
The values returned from the terminal query are restored as the active
code page and character set. If your emulator does not support code
pages, the CODEPAGE and CHARSET parameter values originally specified
on your ISPSTART statement are used. If these ISPSTART parameters
were not specified, ENGLISH is the default specification.