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

LOGOFF through REXX on TSO

155 views
Skip to first unread message

Daryl Wells

unread,
Apr 6, 2001, 2:52:15 PM4/6/01
to
I am trying to run a REXX exec in TSO (ISPF) and then do a X ; LOGOFF (like
you would in ISPF)
Thanks in advance.
------------------------------------------------------------------
From: Daryl Wells
CICS Systems Support
IBM Global Services
Tie Line 427-7487
Phone (813) 801-7487
Pager (800) 759-8888 pin 1366198 or
http://www.skytel.com/Paging/index.html

----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX

Gerard LE ROY

unread,
Apr 6, 2001, 4:28:42 PM4/6/01
to
As far as I remember, I used PUSH "LOGOFF"
To be more investigated
"Daryl Wells" <dww...@US.IBM.COM> a écrit dans le message news:
OFE5D27AFC.780DE8C3...@raleigh.ibm.com...

Jeremy C B Nicoll

unread,
Apr 6, 2001, 4:23:58 PM4/6/01
to
On 06 Apr, Daryl Wells <dww...@US.IBM.COM> wrote:
> I am trying to run a REXX exec in TSO (ISPF) and then do a X ; LOGOFF
> (like you would in ISPF) Thanks in advance.

It's virtually impossible to do this tidily - even with a script running
on your terminal emulator environment - because the exec can't determine
where you are in ispf nor can it decide how to terminate each application
that you might be in.

It's easier to force a logoff by getting the session cancelled (by MVS
operator command) but that's not a good idea from the user point of view.

--
Jeremy C B Nicoll - my opinions are my own.

Ted MacNEIL

unread,
Apr 6, 2001, 4:43:51 PM4/6/01
to
Try (not tested):

/* REXX */
trace

do forever
address "TSO" "ISPF"
say "Logoff?"

parse pull answer
upper answer

if length(answer) > 0 then do
if abrieve("YES",answer) then exit
end
end

Ted.M...@ScotiaBank.COM
416-288-3829


> I am trying to run a REXX exec in TSO (ISPF) and then do a X ; LOGOFF
> (like you would in ISPF) Thanks in advance.

----------------------------------------------------------------------

0 new messages