On Sat, 23 Aug 2008 01:43:48 +0200 Lindy Mayfield <[EMAIL PROTECTED]>
wrote:
:>Is it possible to get an SRB working, and then add on later all the
:>difficult stuff like recovery?
Hey, if nothing needs recovery, i.e., no resources held, thing will stop
waiting, etc. no need.
:>I got this far, and it runs to completion, but I can't tell if it worked
:>or not. (-:
Then make it return some data.
:>Things I did:
:>* SYSEVENT DONTSWAP
Why?
Also TRANSWAP is preferred if the NONSWAP period will be long.
:>* Get working storage
:>* Use LOCASCB to get address of my TSO session
:>* Chain to ASSB and get ASSBSTKN
You can use ALESERV EXTRACTH for the home address space (for some unknown
reason IBM would prefer that you do not chain yourself).
:>* Move it to STOKEN
:>* MODESET to KEY(0)
:>* Schedule SRB. STOKEN is ok otherwise it would abend SAC7 Reason
:>00080001
If you say so.
:>IEAMSCHD EPADDR=SRBADDR,PRIORITY=LOCAL,
:>ENV=STOKEN,TARGETSTOKEN=STOKEN
:>* R15 = 0 if I S0C1 abend here and check
:>* MODESET Back
:>* SYSEVENT OKSWAP
:>* Release Storage
:>* Return
:>---------------
:>SRBRTN DS D
What will be in that doubleword?
:> DC X'0000'
:> BR R14
:>SRBADDR DC A(SRBRTN)
:>STOKEN DS D
:>No abend, nothing. I thought at least it would abend. At best it would
:>abend my TSO session. No such luck.
Why?
The SRB is not your TSO task.
:>I checked the archives for snooping. Some good info there but nothing
:>about the basics that I could find.
--
Binyamin Dissen <[EMAIL PROTECTED]>
http://www.dissensoftware.com
Director, Dissen Software, Bar & Grill - Israel
Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.
I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
----------------------------------------------------------------------
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