On Thu, 10 Apr 2008 18:53:42 -0400, Chambers, David W. <[EMAIL PROTECTED]
corp.com> 
wrote:

>z/VM 5.3 has a Rexx STSI() function. TSO Rexx does not, even at z/OS
>1.9. Running APF-authorized this code (or something like it):
>
>         MODESET MODE=SUP
>         SLR   0,0
>         STSI  0(0)
>         MODESET MODE=PROB
>
>should return a '30000000' in R0 if z/OS is running as a guest. I don't
>have a second-level z/OS to try it on but it does return a '20000000'
>for z/OS in an LPAR.
>========================
=========================
==========
==============

STSI is a privileged instruction. CMS runs in supervisor state, but TSO r
uns in problem state. Of 
course, z/OS could provide a system service corresponding to STSI. Possib
ly they don't think a 
problem-state user should have all that information. Otherwise, why make 
it a supervisor-state 
instruction in the first place?

There is, apparently, a "System REXX" in z/OS 1.8 and 1.9. Possibly that 
contains something like 
STSI(). (Or possibly I just have a good imagination.) I was curious, but 
I cannot download PDF 
manuals from IBMLink any more on my Mac, as Download Director chokes. No 
big loss, if you use 
z/OS I guess you have access to z/OS manuals. I could, of course, do it a
t work, but reading z/OS 
manuals is not part of my job description.

Alan Ackerman
Alan (dot) Ackerman (at) Bank of America (dot) com 

Reply via email to