Lindy,

You might try the following procedure:

01) Add a WTOR just prior to scheduling the SRB code. The WTOR text should indicate the address of the SRB routine and its length. You should be able to issue SVCs there and handle WAITs.
02) Start GTF to capture SLIP trap GTF trace records.
03) Run your program. When the WTOR is displayed on the console use the address/length of the SRB routine in a slip trap as follows:

SL SET,IF,EN,ID=xxxx,ACTION=TRACE,TRDATA=(STD,REGS),RANGE=(starting_address,ending_address),J=target_address_space_job_name,END

04) Respond to the WTOR so your code will continue to execute (i.e. - schedule the SRB).
05) You should see a "slip trap matched" message when your trap hits.
06) Delete the slip trap and stop GTF.
07) Run the GTR trace output through IPCS.

This will give you an instruction by instruction trace. There is a good bit of data that is displayed by this trace. You should be able to verify that your program is executing as you expect.

Notes:

01) Replace the WTOR with PUTGET if your target address space is a TSO session as the WTOR will not work quite like you would like.......

Ray Overby



Lindy Mayfield wrote:
It appears, unfortunately, that WTO isn't allowed. Strange.

ABEND is allowed but it didn't do anything.  It didn't put anything in
LOGR.

But I did a LA R6,X'666' and then a DC X'0000' and in the LOGR I could
see my register set.  So perhaps it works.

I mean, so it appears to work!  Whoo Hoo!  Thanks to everyone's help and
patience with my questions.  Only took me 6 months to get this far. (-:

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of (IBM Mainframe Discussion List)
Sent: 23. elokuuta 2008 19:07
To: [email protected]
Subject: Re: Trying to figure out IEAMSCHD

In a message dated 8/22/2008 6:44:04 P.M. Central Daylight Time, [EMAIL PROTECTED] writes:
it runs to completion, but I can't tell if it worked
or  not
So running "to completion" is like "working as coded." All code ever written works as coded. One way to know if it works, after you fix all the problems you discover

with LOGREC et al., is to put a WTO at the very end.  Of course, you
have to code the WTO so that it does not use an SVC (LINKAGE not = SVC; some macros allow LINKAGE=SYSTEM, others allow LINKAGE=BRANCH; check the WTO doc). And remember that the WTO system service will alter some registers. Check the WTO doc to see which ones. 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



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