Re: Trying to figure out IEAMSCHD

2008-08-29 Thread Tom Harper
PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Dave Day wrote: What are you doing to save and restore the registers that you get when your code gets control? don't you have to have an R14 to return to, when your SRB routine is done? AFAIK, SVC 13 isn't the only

Re: Trying to figure out IEAMSCHD

2008-08-29 Thread Binyamin Dissen
] On :Behalf Of Gerhard Postpischil :Sent: Saturday, August 23, 2008 3:43 PM :To: IBM-MAIN@BAMA.UA.EDU :Subject: Re: Trying to figure out IEAMSCHD :Dave Day wrote: : What are you doing to save and restore the registers that you get when : your code gets control? don't you have to have an R14

Re: Trying to figure out IEAMSCHD

2008-08-25 Thread Peter Relson
I never saw the initial post, but the program provided as an example with the BR 14 was incorrect. It was off by a level of indirection. This was what was posted: MODESET KEY=ZERO,MODE=SUP STORAGE OBTAIN,LENGTH=2,SP=227 LR R5,R1 MVC 0(2,R5),=X'07FE' IEAMSCHD

Re: Trying to figure out IEAMSCHD

2008-08-25 Thread Gerhard Postpischil
Peter Relson wrote: It was mentioned that the desire is to do VSMLIST. Why? What will you do with the information? Maybe there are other pieces of information available in the system without going through the trouble (and cycles) of retrieving VSMLIST and analyzing the conl structures. Lindy

Re: Trying to figure out IEAMSCHD

2008-08-25 Thread (IBM Mainframe Discussion List)
In a message dated 8/25/2008 7:00:29 A.M. Central Daylight Time, [EMAIL PROTECTED] writes: I do find it distressing that experienced people on this forum would give advice about using non-programming interfaces such as CVTSRBRT. I didn't know until your post that using CVTSRBRT was not

Re: Trying to figure out IEAMSCHD

2008-08-24 Thread Binyamin Dissen
On Sat, 23 Aug 2008 22:42:19 +0200 Lindy Mayfield [EMAIL PROTECTED] wrote: :Those are good points that I'm still figuring out. Though I'm not :totally sure what you mean. :A branch to R14 seems to be returning me to the point just after the SRB :schedule. PARM= on the macro allows me to put

Re: Trying to figure out IEAMSCHD

2008-08-24 Thread Binyamin Dissen
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

Re: Trying to figure out IEAMSCHD

2008-08-24 Thread Lindy Mayfield
Binyamin Dissen on 24. elokuuta 2008 14:10 Wrote: :Those are good points that I'm still figuring out. Though I'm not :totally sure what you mean. :A branch to R14 seems to be returning me to the point just after the SRB :schedule. PARM= on the macro allows me to put something in R1 that I :can

Re: Trying to figure out IEAMSCHD

2008-08-24 Thread Lindy Mayfield
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

Re: Trying to figure out IEAMSCHD

2008-08-24 Thread Binyamin Dissen
On Sun, 24 Aug 2008 15:19:22 +0200 Lindy Mayfield [EMAIL PROTECTED] wrote: :Binyamin Dissen on 24. elokuuta 2008 14:10 :Wrote: ::Those are good points that I'm still figuring out. Though I'm not ::totally sure what you mean. ::A branch to R14 seems to be returning me to the point just after

Re: Trying to figure out IEAMSCHD

2008-08-24 Thread Lindy Mayfield
Subject: Re: Trying to figure out IEAMSCHD : A branch to R14 seems to be returning me to the point just after the : SRB schedule. PARM= on the macro allows me to put something in R1 that I : can use. I would assume this is the address of some common storage. : No, it does not. The SRB runs

Re: Trying to figure out IEAMSCHD

2008-08-24 Thread (IBM Mainframe Discussion List)
An accumulation of replies to multiple posts for this threat. 1. In a message dated 8/24/2008 10:54:51 A.M. Central Daylight Time, [EMAIL PROTECTED] writes: How do you guys learn this stuff? So well? I mean, it's not like something they teach you in mainframe school, is it? We go to

Re: Trying to figure out IEAMSCHD

2008-08-24 Thread Gerhard Postpischil
Lindy Mayfield wrote: How do you guys learn this stuff? So well? I mean, it's not like something they teach you in mainframe school, is it? In the case of cross-memory services, I did it the same way you did, with a little less trouble. I started by reading the manuals (rather skimpy back

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread (IBM Mainframe Discussion List)
In a message dated 8/22/2008 9:39:54 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: .Do you have anything that needs re-locating? I would use directed LOAD. This means statements in your (Lindy's) program (the SRB routine that is to run in the other address space) like DC

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread (IBM Mainframe Discussion List)
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

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread Lindy Mayfield
: 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

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread Ray Overby
: 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

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread Walt Farrell
On Sat, 23 Aug 2008 19:02:21 +0200, Lindy Mayfield [EMAIL PROTECTED] wrote: It appears, unfortunately, that WTO isn't allowed. Strange. The standard form of WTO uses an SVC, and SVCs (except for ABEND) do not work in SRB mode. If you want a WTO you'll need to use the branch-entry form

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread Lindy Mayfield
? -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Walt Farrell Sent: 23. elokuuta 2008 20:37 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD On Sat, 23 Aug 2008 19:02:21 +0200, Lindy Mayfield [EMAIL PROTECTED] wrote

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread Dave Day
Are you sure the address your are moving to is correctly aligned? - Original Message - From: Lindy Mayfield [EMAIL PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Saturday, August 23, 2008 2:14 PM Subject: Re: Trying to figure out IEAMSCHD Sorry I

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread Lindy Mayfield
Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Dave Day Sent: 23. elokuuta 2008 22:33 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Are you sure the address your are moving to is correctly aligned

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread Dave Day
PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Saturday, August 23, 2008 2:41 PM Subject: Re: Trying to figure out IEAMSCHD I got it to WTO!!! It wasn't alignment, it was ignorance on my part. The things that are obvious to other people are not obvious to me. Yet

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread Lindy Mayfield
storage. Also I would have to save R14 for later because it would get used up other things. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Dave Day Sent: 23. elokuuta 2008 23:15 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out

Re: Trying to figure out IEAMSCHD

2008-08-23 Thread Gerhard Postpischil
Dave Day wrote: What are you doing to save and restore the registers that you get when your code gets control? don't you have to have an R14 to return to, when your SRB routine is done? AFAIK, SVC 13 isn't the only exception. SVC 3 could also be used (but I've never tried it). Gerhard

Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
Which parameter on IEAMSCHD tells it the address space it is to run in? Basic I know. It'll be my first SRB. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Edward Jaffe
Lindy Mayfield wrote: Which parameter on IEAMSCHD tells it the address space it is to run in? Why not RTFM? TARGETSTOKEN=xtargetstoken is the name (RS-type), or address in register (2)-(12), of a required 64 bit input which contains the Space Token (STOKEN) of the address space

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread (IBM Mainframe Discussion List)
In a message dated 8/22/2008 1:55:15 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: Which parameter on IEAMSCHD tells it the address space it is to run in? TARGETSTOKEN. Specifies the space token (STOKEN) of the address space in which the SRB routine is to receive control

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Rob Scott
) Sent: 22 August 2008 20:07 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD In a message dated 8/22/2008 1:55:15 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: Which parameter on IEAMSCHD tells it the address space it is to run in? TARGETSTOKEN. Specifies the space

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: 22. elokuuta 2008 22:07 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Lindy Mayfield wrote: Which parameter on IEAMSCHD tells it the address space it is to run in? Why not RTFM

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Rob Scott Sent: 22. elokuuta 2008 22:20 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Lindy, I would suggest doing some searching in the IBM-Main archives (or use

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
Sent: 22. elokuuta 2008 22:07 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Lindy Mayfield wrote: Which parameter on IEAMSCHD tells it the address space it is to run in? Why not RTFM? TARGETSTOKEN=xtargetstoken is the name (RS-type), or address in register (2

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Dave Day
Message - From: Lindy Mayfield [EMAIL PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Friday, August 22, 2008 3:01 PM Subject: Re: Trying to figure out IEAMSCHD Another thing that isn't helping, I'm only slightly embarrassed to say, is I don't know yet what

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Rob Scott
PROTECTED] -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lindy Mayfield Sent: 22 August 2008 21:01 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Another thing that isn't helping, I'm only slightly embarrassed to say, is I

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread (IBM Mainframe Discussion List)
In a message dated 8/22/2008 3:01:38 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: I don't know yet what an STOKEN or an ALET is. A token, in general, is an arbitrary value that is long enough so that all tokens for the same class of resource will be unique. Whenever certain

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD If that is the case - I think you might be trying to run before you can walk. I think you be better served, perhaps, writing yourself a program to store and access data in a dataspace before you start playing with SRBs - the MVS Extended

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Wayne Driscoll
:08 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD If that is the case - I think you might be trying to run before you can walk. I think you be better served, perhaps, writing yourself a program to store and access data in a dataspace before you start playing with SRBs

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread (IBM Mainframe Discussion List)
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

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
Thanks, Bill. VSMLIST uses a PC routine so I should be ok with that one. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of (IBM Mainframe Discussion List) Sent: 22. elokuuta 2008 23:36 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD In a message dated 8/22/2008 1:55:15 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: Which parameter on IEAMSCHD tells it the address space it is to run in? TARGETSTOKEN. Specifies the space token (STOKEN) of the address

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread (IBM Mainframe Discussion List)
In a message dated 8/22/2008 4:22:45 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: Ok, Bill. Lightbulb time. It's tucked away in the ASSB. ASSBSTKN. The OS creates it when it creates an address space. Glad you found it. I haven't yet learned a good rule of thumb as to why

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Wayne Driscoll
to figure out IEAMSCHD In a message dated 8/22/2008 4:22:45 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: Ok, Bill. Lightbulb time. It's tucked away in the ASSB. ASSBSTKN. The OS creates it when it creates an address space. Glad you found it. I haven't yet learned a good rule

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Also, I would be remiss if I didn't point out that the ASSBSTKN is NOT part of the programming information. That doesn't mean that it can't be used, just don't be surprised if IBM won't support you if problems occur. Wayne Driscoll Product

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
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

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Blaicher, Chris
Mayfield Sent: Friday, August 22, 2008 6:44 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD 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

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread David Kreiss
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lindy Mayfield Sent: Friday, August 22, 2008 4:44 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Is it possible to get an SRB working, and then add on later all the difficult stuff like

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
Kreiss Sent: 23. elokuuta 2008 2:58 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Lindy, You might check the SYSLOG for S47B slip trap hits. Also download the LOGREC viewer from http://www-03.ibm.com/servers/s390/os390/downloads/logrec_viewer.html and install it. You can see

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
: 23. elokuuta 2008 3:55 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Wow! I never knew what sorts of things were in the logrec. I thought it was only for hardware errors. That's so great. I see my program abending there with a s0c1. A nice, too, too. -Original

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Tom Harper
Message - From: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU To: IBM-MAIN@BAMA.UA.EDU IBM-MAIN@BAMA.UA.EDU Sent: Fri Aug 22 20:32:01 2008 Subject: Re: Trying to figure out IEAMSCHD I spoke too soon. )-: I get a S0C1 no matter what, when I take out the x'' abend from the srb routine

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
it in the correct AMODE? That certainly probably explains the S0C4's in the logrec! Lindy -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Tom Harper Sent: 23. elokuuta 2008 4:43 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Lindy

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
I meant, after the IEAMSCHD schedule. The sun is coming up. Again. (-: -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lindy Mayfield Sent: 23. elokuuta 2008 5:10 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Tom, I

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Tom Harper
@BAMA.UA.EDU To: IBM-MAIN@BAMA.UA.EDU IBM-MAIN@BAMA.UA.EDU Sent: Fri Aug 22 21:11:37 2008 Subject: Re: Trying to figure out IEAMSCHD I meant, after the IEAMSCHD schedule. The sun is coming up. Again. (-: -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
. elokuuta 2008 5:17 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Trying to figure out IEAMSCHD Lindy, If your program is in your private area, it won't work if you're scheduling to a different address space. The SRB routine must normally reside in CSA or ECSA for a SCHEDULE to a different address space. Tom

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Tom Harper
? I would use directed LOAD. Tom - Original Message - From: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU To: IBM-MAIN@BAMA.UA.EDU IBM-MAIN@BAMA.UA.EDU Sent: Fri Aug 22 21:23:56 2008 Subject: Re: Trying to figure out IEAMSCHD You mean I have to allocate storage in the CSA

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
To: IBM-MAIN@BAMA.UA.EDU 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

Re: Trying to figure out IEAMSCHD

2008-08-22 Thread Lindy Mayfield
-MAIN@BAMA.UA.EDU 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