Is it possible to get an SRB working, and then add on later all the
difficult stuff like recovery?
I got this far, and it runs to completion, but I can't tell if it worked
or not. (-:
Things I did:
* SYSEVENT DONTSWAP
* Get working storage
* Use LOCASCB to get address of my TSO session
* Chain to ASSB and get ASSBSTKN
* Move it to STOKEN
* MODESET to KEY(0)
* Schedule SRB. STOKEN is ok otherwise it would abend SAC7 Reason
00080001
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
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.
I checked the archives for snooping. Some good info there but nothing
about the basics that I could find.
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of (IBM Mainframe Discussion List)
Sent: 22. elokuuta 2008 23:36
To: [email protected]
Subject: Re: Trying to figure out IEAMSCHD
In a message dated 8/22/2008 3:28:25 P.M. Central Daylight Time,
[EMAIL PROTECTED] writes:
>My current goal is to run VSMLIST in a target address space.
Whatever you try to do in an SRB routine, make sure you don't code any
system services that have an SVC instruction in their macro expansions.
SVCs
cannot be executed in SRB mode (except for the ABEND service, which uses
an SVC).
Most system services now have a parameter that governs whether the
macro
expansion will use an SVC or something else (PC or BALR perhaps).
Bill Fairchild
Rocket Software
----------------------------------------------------------------------
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