Binyamin Dissen on 24. elokuuta 2008 14:10
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'm sure there is a very important gem of wisdom there but I don't quite
see it yet.  I think you are hinting about what sort of things the
recovery routines actually recover from.  I simply want to run VSMLIST
to get the virtual storage addresses then upon request read the memory
there and be done.

:>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.

(-:  That's the next step.  

:> Things I did:
:> * SYSEVENT DONTSWAP

>> Why?

I don't know why I need the primary address to be non swappable.  I saw
it in one or more of the examples that I looked at and thought that it
needed to be there.

:>SRBRTN DS  D
>> What will be in that doubleword?
 
I have now:
SRBRTN   DS 0H

I've since changed it to DS 0D.  I put it there because someone advised
me to start my code on a double word boundary.  The other stuff was my
failed attempts to copy my code to the CSA which seemed a very strange
thing to do.  Then I thought about von Neumann and it was ok after that.


:>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 scheduled it into the address space of another TSO user id because I
wasn't sure what would happen if things went wrong and I wanted to be
able to monitor what was happening.  I managed to corrupt the TCB of the
TSO session.  But that's just luck I think.  I could have just as easily
corrupted the operating system.

----------------------------------------------------------------------
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

Reply via email to