I started working on this March 2nd. And with people's kind help and
working on it all night I've managed to submit a batch job that crashes
my TSO session. (-:
It's probably time to call it a night, er, morning.
Here is the main part of my code that does the trick. STOKEN is primed
with the ASSDSTKN from my TSO address space.
MODESET KEY=ZERO,MODE=SUP
STORAGE OBTAIN,LENGTH=2,SP=227
LR R5,R1
MVC 0(2,R5),=X'07FE'
IEAMSCHD EPADDR=(R5),
ENV=STOKEN,TARGETSTOKEN=STOKEN
Don't know why it crashed, though. It should have just BR 14'd. At
least I know it's coming into my address space and fooling around with
something it shouldn't.
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Harper
Sent: 23. elokuuta 2008 5:39
To: [email protected]
Subject: Re: Trying to figure out IEAMSCHD
Lindy,
If you're not running in a different target address space, it doesn't
matter. But think for a moment about what running in a different address
space means. Your private doesn't look like the target private. Be
careful copying a program over. Do you have anything that needs
re-locating? I would use directed LOAD.
Tom
----------------------------------------------------------------------
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