Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

z/OS LOGON RECONNECT Recovery.

55 views
Skip to first unread message

Paul Gilmartin

unread,
Nov 4, 2009, 11:31:02 AM11/4/09
to
So the user locks the screen of the workstation in his office,
leaving an ISPF session inconspicuously minimized in the dock
and goes home. Since it's z/OS 1.11, he can LOGON RECONNECT
and usurp the TSO session and proceed. But his home terminal
emulator doesn't provide the screen geometry he was using in
the office, and he gets an endless recurrence of:

** ISPF screen input error - code = 25 **
***

as he presses ENTER repeatedly. How can he terminate this and
get a useful TSO session? CANCEL would be OK; Edit Recovery
should rescue his work.

If he reconnects to a session left at the TSO READY prompt, all
is well: he can relaunch ISPF which starts with the new screen
geometry. But if he reconnects with ISPF active, either TSO
fails to inform ISPF of the change or ISPF fails to ask.

Given the z/OS improved RECONNECT capability, recovery from
repeated screen errors should include reloading the terminal
characteristics in case anything has changed. As a point of
reference, VM/CMS XEDIT handles this scenario seamlessly:
the user just presses PA2 and the screen is redrawn according
to the new geometry.

-- gil

Mickey

unread,
Nov 4, 2009, 11:35:45 AM11/4/09
to
My first thought would be to hit ATTN or PF1 and break out of ISPF back to a
ready prompt and start ISPF again

--------------------------------------------------
From: "Paul Gilmartin" <PaulGB...@AIM.COM>
Sent: Wednesday, November 04, 2009 11:30 AM
To: <ISP...@LISTSERV.ND.EDU>
Subject: z/OS LOGON RECONNECT Recovery.

Edward Jaffe

unread,
Nov 4, 2009, 11:49:15 AM11/4/09
to
Paul Gilmartin wrote:
> ** ISPF screen input error - code = 25 **
> ***
>
> as he presses ENTER repeatedly. How can he terminate this and
> get a useful TSO session? CANCEL would be OK; Edit Recovery
> should rescue his work.

Is this not the exact case for which the RESHOW key was designed?

--
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA 90045
310-338-0400 x318
edj...@phoenixsoftware.com
http://www.phoenixsoftware.com/

Pedro Vera

unread,
Nov 4, 2009, 12:06:33 PM11/4/09
to
Can the user configure his work emulator and home emulator to use
consistent screen dimensions?

My site uses a TSO logon pre-prompt exit. That is, we have our own logon
screen. I am not sure of the mechanism, but it 'knows' that you are
already logged on and also knows that the screen size is different and you
have a choice of reconnect or new session. When 'new session' is
selected, the exit issues a cancel command before actually logging on.

Sorry, I do not have the source and cannot share. But I mention it to say
that it is possible.


Pedro Vera
IMS Tools

Paul Gilmartin

unread,
Nov 4, 2009, 12:07:21 PM11/4/09
to
On Nov 4, 2009, at 09:48, Edward Jaffe wrote:

> Paul Gilmartin wrote:
>> ** ISPF screen input error - code = 25 **
>> ***
>>
>> as he presses ENTER repeatedly. How can he terminate this and
>> get a useful TSO session? CANCEL would be OK; Edit Recovery
>> should rescue his work.
>
> Is this not the exact case for which the RESHOW key was designed?
>

Is PA2 RESHOW? PA2 gives me a one-pixel dot in the upper left
corner of the screen, after which pressing any other key puts me
back at "screen input error". The implementation appears to fall
woefully short of the design. Given that RECONNECT is now
possible, RESHOW ought to first refetch the terminal attributes.

-- gil

Pinnacle

unread,
Nov 4, 2009, 2:58:43 PM11/4/09
to
----- Original Message -----
From: "Paul Gilmartin" <PaulGB...@AIM.COM>
Newsgroups: bit.listserv.ispf-l
Sent: Wednesday, November 04, 2009 11:31 AM
Subject: z/OS LOGON RECONNECT Recovery.

> So the user locks the screen of the workstation in his office,
> leaving an ISPF session inconspicuously minimized in the dock
> and goes home. Since it's z/OS 1.11, he can LOGON RECONNECT
> and usurp the TSO session and proceed. But his home terminal
> emulator doesn't provide the screen geometry he was using in
> the office, and he gets an endless recurrence of:
>
> ** ISPF screen input error - code = 25 **
> ***
>
> as he presses ENTER repeatedly. How can he terminate this and
> get a useful TSO session? CANCEL would be OK; Edit Recovery
> should rescue his work.
>

<snip>

Gil,

If the user presses PA1, or ATTN, eventually they should get to a READY or
LOGON prompt. If that doesn't work, the only option would be to call the
operator for a C U= command. This is a VTAM thing as much as a TSO thing.
I don't believe that VTAM supports dynamically modifying screen sizes of an
active session.

Regards,
Tom Conley

Edward Jaffe

unread,
Nov 4, 2009, 5:08:45 PM11/4/09
to
Pinnacle wrote:
> If the user presses PA1, or ATTN, eventually they should get to a
> READY or LOGON prompt. If that doesn't work, the only option would be
> to call the operator for a C U= command. This is a VTAM thing as much
> as a TSO thing. I don't believe that VTAM supports dynamically
> modifying screen sizes of an active session.

I missed the part about this being different screen sizes. My bad. :-|

VTAM absolutely *does* support changing screen sizes on the fly. It's
called "re-bind". You can re-bind as long as you're in between brackets.
We do it in some of our more sophisticated products that use 3270
interfaces.

I'm not sure if TSO/E ever uses the re-bind feature. But, even if it
does, it would be unlikely to re-bind while a command processor is in
control. That could create some serious confusion for the command
processor. In particular, I'm certain ISPF would "choke" on this...

Schwartzkopff,Dirk HG-Dir itb-zs

unread,
Nov 6, 2009, 8:38:13 AM11/6/09
to
You can always press the System Request key and type LOGOFF to end a session.
See you 3270 emulator manual for this key (IBM Personal Communications: Actions -> Display Popup Keypad -> SysRq)

Dirk

-----Original Message-----
From: ISPF discussion list [mailto:ISP...@LISTSERV.ND.EDU] On Behalf Of Paul Gilmartin
Sent: Wednesday, 04. November 2009 17:30
To: ISP...@LISTSERV.ND.EDU
Subject: z/OS LOGON RECONNECT Recovery.

-- gil

ALTE LEIPZIGER Lebensversicherung auf Gegenseitigkeit
Die Lebensversicherung im ALTE LEIPZIGER - HALLESCHE Konzern
Vorsitzender des Aufsichtsrats: Wolfgang Stertenbrink
Vorstand: Dr. Walter Botermann (Vorsitzender), Otmar Abel (stv. Vorsitzender), Christoph Bohn, Frank Kettnaker, Reinhard Kunz, Wiltrud Pekarek
Sitz Oberursel (Taunus) . Rechtsform Versicherungsverein auf Gegenseitigkeit . Amtsgericht Bad Homburg v. d. H. HRB 1583 . St.-Nr. 045 223 0042 1

Steve Coalbran

unread,
Nov 17, 2009, 8:28:36 AM11/17/09
to
I use the sledgehammer+nut approach...

1. Adjust "userid" and "password" in all below
2. Cut the 7 lines of FTP command below

FTP

OPEN 9.212.143.123userid
password
QUOTE SITE FILETYPE=JES

PUT C:/$user/CANCELME.JCL

BYE
3. Paste them onto an MSDOS prompt
Where my C:/$user/CANCELME.JCL is...

//SE16661C JOB
'SYS0000',REGION=24000K

/*JOBPARM SYSAFF=(*)

//PAUSE EXEC PGM=IKJEFT01,PARM='BPXBATCH pgm
/bin/sleep 5'

//SYSTSPRT DD
DUMMY

//SYSTSIN DD DUMMY


//CANCEL EXEC PGM=ISFAFD

//ISFOUT DD DUMMY


//ISFIN DD *

C U=userid

PRE userid

DA

++ALL

FIND
'userid'

++C

RESET

//

(The sleep and every SDSF command after C U=userid may be overkill )


> Date: Wed, 4 Nov 2009 09:30:28 -0700
> From: PaulGB...@AIM.COM


> Subject: z/OS LOGON RECONNECT Recovery.

> To: ISP...@LISTSERV.ND.EDU

_________________________________________________________________
View your other email accounts from your Hotmail inbox. Add them now.
http://clk.atdmt.com/UKM/go/186394592/direct/01/

Steve Coalbran

unread,
Nov 17, 2009, 8:35:05 AM11/17/09
to
Try that again without the HoTMaiL "auto-scramble" on... (I hope!?)

I use the sledgehammer+nut approach...

1. Adjust "userid" and "password" in all below
2. Cut the 7 lines of FTP command below

FTP
OPEN 9.212.143.123
userid
password
QUOTE SITE FILETYPE=JES
PUT C:/$user/CANCELME.JCL
BYE

3. Paste them onto an MSDOS prompt
Where my C:/$user/CANCELME.JCL is...

//SE16661C JOB
'SYS0000',REGION=24000K
/*JOBPARM SYSAFF=(*)

//PAUSE EXEC PGM=IKJEFT01,PARM='BPXBATCH pgm/bin/sleep 5'

//SYSTSPRT DD DUMMY
//SYSTSIN DD DUMMY
//CANCEL EXEC PGM=ISFAFD
//ISFOUT DD DUMMY
//ISFIN DD *
C U=userid
PRE userid
DA
++ALL
FIND 'userid'
++C
RESET
//

(The sleep and every SDSF command after C U=userid may be overkill )

> Date: Tue, 17 Nov 2009 13:28:03 +0000
> From: coal...@HOTMAIL.COM
> Subject: Re: z/OS LOGON RECONNECT Recovery.

_________________________________________________________________
Got more than one Hotmail account? Save time by linking them together
http://clk.atdmt.com/UKM/go/186394591/direct/01/

Paul Gilmartin

unread,
Nov 17, 2009, 8:51:25 AM11/17/09
to
On Nov 17, 2009, at 06:34, Steve Coalbran wrote:

> Try that again without the HoTMaiL "auto-scramble" on... (I hope!?)
>
> I use the sledgehammer+nut approach...
>
> 1. Adjust "userid" and "password" in all below
> 2. Cut the 7 lines of FTP command below
>
> FTP
> OPEN 9.212.143.123
> userid
> password
> QUOTE SITE FILETYPE=JES
> PUT C:/$user/CANCELME.JCL
> BYE
>
> 3. Paste them onto an MSDOS prompt
>

I don't do MS.

Gasp!

Long ago, Bill Schoen posted a wrapper to the MVS-OE Tools & Toys
site which invokes the batch SDSF load module. So, I just log on
to Unix System Services, bring up that flavor of SDSF (I've
enhanced it somewhat) ahd cancel my TSO session.

But this is a circumvention. It doesn't justify the fundamental
defect in ISPF.

-- gil

Wendell Lovewell

unread,
Nov 18, 2009, 1:41:26 PM11/18/09
to
Hi Steve.

I see you manually submitted the PC file to JES to run as a job.

fwiw, you could put the FTP commands in a file and submit it as input
to the FTP command using the -s: parm: FTP -S:filename

I have an application that lets me enter "SUB" in my KEDIT command
line (while I'm editing MVS or VSE JCL) similar to the SUB command in
ISPF/PDF. I've wondered if there is a commercial opportunity for it.
It also allows me to code the same variables in JCL as in SYSIN data.
Something like this:

%PARMS %USER=WRL3
//CANCEL JOB CLASS=B,MSGCLASS=Z
//MVSOUT OUTPUT DEST=WRL1,FORMS=MVS,JESDS=ALL,DEFAULT=YES
//CANCEL EXEC PGM=ISFAFD
//ISFOUT DD SYSOUT=L
//ISFIN DD *
/C U=%USER
//

I use a product of ours called JRB to return the listing to a network
folder, so I don't need PDF or SDSF to submit jobs or view the
listings--I do it all from within the PC editor.

Do you (or anyone else) often submit jobs from PC files? Would there
be interest in doing that?

0 new messages