----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
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.
/* 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.
----------------------------------------------------------------------