Is there a specific SUBpool for the STORAGe ?
This is a somewhat scary question to see from someone writing key 0
supervisor state code.
There is almost never a specific subpool for anything. But there are
things you have to be aware of when allocating any storage, such as its
persistance
Hello,
If I use IEAVPSE to pause a TCB and a time interval set using STIMERM
expires, will the exit specified to be driven under another RB as it
does with wait?
If I schedule a synchronous SRB from a TCB and a time interval set using
STIMERM expires, will the specified exit be driven prior
On Wed, 14 Apr 2010 15:31:15 +0100 Steve Austin steve.aus...@macro4.com
wrote:
:If I use IEAVPSE to pause a TCB and a time interval set using STIMERM
:expires, will the exit specified to be driven under another RB as it
:does with wait?
I would expect so.
:If I schedule a synchronous SRB from a
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
] 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
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 EPADDR=(R5),ENV=STOKEN
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
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
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
ASSBSTKN
You can use ALESERV EXTRACTH for the home address space (for some unknown
reason IBM would prefer that you do not chain yourself).
:* Move it to STOKEN
:* MODESET to KEY(0)
:* Schedule SRB. STOKEN is ok otherwise it would abend SAC7 Reason
:00080001
If you say so.
:IEAMSCHD EPADDR
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
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
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
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
doing the IEAMSCHD.
Bill Fairchild
Rocket Software
**It's only a deal if it's where you want to go. Find your travel
deal here.
(http://information.travel.aol.com/deals?ncid=aoltrv000547)
--
For IBM
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
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
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
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
: 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
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
?
-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
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
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
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
IEAMSCHD
Ok, you weren't setting your base register for the code.
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
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
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
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
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
Lindy,
I would suggest doing some searching in the IBM-Main archives (or use the
Google groups interface) - have a look for IEAMSCHD or snooping - there have
been quite a few interesting discussions about this topic in the past -
including some pearls of wisdom from people in the know
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
I did that. I hate asking a question before trying every avenue.
I looked for IEAMSCHD but not snooping. I found a few things, for
example something from David about making a target AS non-swappable, a
few things about recovery, and a few about performance. I'll look
again, thanks for the tip
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
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
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
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
@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
: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
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
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
-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
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
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
@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
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
Lindy,
Look at the ,PTCBADDR=ptcbaddr parameter of IEAMSCHD. If you don't have
it or an FRR and the SRB fails, the SRB just goes away and doesn't tell
you anything.
Chris Blaicher
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Lindy
-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
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
: 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
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
Tom,
I just stuck it a bit down in my program, after the schedule.
SRBRTN BR R14
Perhaps I made a wrong assumption. I saw a lot of stuff about SCHEDULE
that says it has to be in fixed memory, etc. I saw nothing like that in
IEAMSCHD.
What do I need to do to put
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
@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
for IEAMSCHD it doesn't mention that:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A881/9.6.
1
I guess I'm supposed to know that. (-: I do now. Thanks!
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Harper
Sent: 23
? 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
space needing the code
in an area where it can run it. I just assumed that there was some sort
of magic in IEAMSCHD that took care of all that. Doh.
Lindy
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Harper
Sent: 23. elokuuta 2008 5:39
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
I don't know whether ASCB in ASCBDSP1 had marked the address space as
non-dispatchable. It was a CICS region. What may cause this bit to be set
on?
Thanks,
Dave
--
For IBM-MAIN subscribe / signoff / archive access
Dave Stedman wrote:
I don't know whether ASCB in ASCBDSP1 had marked the address space as
non-dispatchable. It was a CICS region. What may cause this bit to be set
on?
STATUS STOP,SRB
--
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA
Thanks, that sounds like the most likely explanation for an SRB being
delayed. I wonder who would be doing a STATUS STOP,SRB in a CICS region?
Might that be the hypervisor or WLM?
Thanks again,
Dave
--
For IBM-MAIN subscribe /
Hi all,
Can anybody explain why occasionally IEAMSCHD takes several seconds to
schedule an SRB? Normally this takes microseconds but in one case I am
looking at it took 61.4 secs!!!
The environment was an LPAR with 13 shared engines and zero dedicated
engines.
The IEAMSCHD was in a DIE
The environment was an LPAR with 13 shared engines and zero dedicated engines.
What are the other LPAR's?
Weights?
Also, if you have shared engines you cannot have dedicated ones in the same
LPAR.
When in doubt.
PANIC!!
Dave Stedman wrote:
Can anybody explain why occasionally IEAMSCHD takes several seconds to
schedule an SRB? Normally this takes microseconds but in one case I am
looking at it took 61.4 secs!!!
Are you saying the IEAMSCHD service did not return to its caller right
away? Or that the SRB
IEAMSCHD returned to its caller within a few microsecs, but then the SRB
did not start for 61 secs!
Thanks,
Dave
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED
I don't have the weights of the other LPARS. Since this LPAR was very
active during the 61 sec wait with both srb and tcb activity, would the
weights of the other LPARs have made any difference?
Thanks,
Dave
--
For IBM-MAIN
Dave Stedman wrote:
IEAMSCHD returned to its caller within a few microsecs, but then the SRB
did not start for 61 secs!
Any chance ASCB was set in the target address space?
--
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA 90045
310
In a message dated 10/26/2006 3:40:36 P.M. Central Daylight Time,
[EMAIL PROTECTED] writes:
Can anybody explain why occasionally IEAMSCHD takes several seconds to
schedule an SRB? Normally this takes microseconds but in one case I am
looking at it took 61.4 secs!!!
The environment
weights of the other LPARs have made any difference?
Yes.
The dispatching of each LPAR is not really any different than the dispatching
of a task.
If your LPAR was/is low on weight, and there is/was CPU contention, it may
matter.
When in doubt.
PANIC!!
69 matches
Mail list logo