In a recent note, Tony Harminc said:
> Date: Fri, 21 Apr 2006 16:26:33 -0400
>
> But as someone else pointed out, the ASID can change between your request
> and the TPUTs.
>
Some experiments convince me that HSM is smarter than you give
it credit for, which gives it far less excuse to be as stupid
as it is.
I logged in to TSO with a linemode TELNET session, so the HL*ST
output would scroll by (on the wrong screen) without my needing
to clear the screen, and a linemode z/OS Unix session on which
I entered my commands.
o Experiment 1:
[EMAIL PROTECTED]:153$ time tso "hlist both"
hlist both
real 1m32.19s
user 0m 0.06s
sys 0m 0.01s
[EMAIL PROTECTED]:154$
... reasonably repeatably. The shell prompt returns when the
HSM output completes scrolling by (on the wrong screen), or a
few seconds later; never before. This leaves me convinced
that the TSO client maintains a connection to the HSM server
and knows when it has finished doing its TPUTs (to the wrong
screen). It's not asynchronous. And, more telling:
o Experiment 2:
[EMAIL PROTECTED]:155$ tso "hlist both" &
( set -x; sleep 3; kill -9 $!; sleep 1 )
[1] 67109696
-sh 0 + sleep 3
hlist both
-sh 0 + kill -9 67109696
-sh 0 + sleep 1
17.28.22 STC09769 BPXP010I THREAD 441467E000000001,
IN PROCESS 67109696, WAS 977
977 TERMINATED BY SIGNAL SIGKILL, SENT FROM THREAD
977 441389D000000000, IN PROCESS 50332486, UID 19991.
[1] + Done(137) tso "hlist both" &
( set -x; sleep 3; kill -9 $!; sleep 1 )
67109696 Killed -sh
[EMAIL PROTECTED]:156$
... what I observe is that the HSM output stops appearing on the
TSO screen the instant the SIGKILL is accepted. This tells me
that HSM knows when the ASID that made the request has terminated
and then stops issuing TPUTs which appear on the other ASID.
No excuse.
-- gil
--
StorageTek
INFORMATION made POWERFUL
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html