Re: z/OS LOGON RECONNECT Recovery.

2009-11-05 Thread Greg Price
Woops!
Sorry, wrong list.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: z/OS LOGON RECONNECT Recovery.

2009-11-05 Thread Greg Price
Years ago (circa 2000) I used Gilbert's IKJEFLN2 exit to
great advantage to reconnect to "lost" sessions that were
not deemed disconnected by VTAM.

TSO/E (and even old TSO I believe) will happily tell any
apps that ask about the current screen geometry.

Initialized and running fullscreen apps are generally
not set up (designed and coded) to cater for dynamic
screen size changes.

Whenever the VTAM page protection occurs (the three
asterisks) a RESHOW code is sent to the fullscreen app
so that it knows to repaint the whole screen.

The default RESHOW key is PA2, and can be set to a
PF key, but I cannot name a TSO fullscreen app which
actually does use a PF key for RESHOW.  Unlike a PA
key which usually only does a short read, a PF key
can also return typed text so using it for RESHOW
could be considered wasteful.

Perhaps the fullscreen app should perform a GTTERM
whenever a RESHOW is encountered to verify that
the screen dimensions have not changed?

Hmm, sounds like a requirement for REVIEW...
:)

Well, reasonably doable for the browser, a bit messier
for the editor.  Perhaps a line mode dialog offering
to exit with or without saving the data?  Also perhaps
including a RESET in case line commands were pending?

Cheers,
Greg

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html