Gabor

One way to do it is schedule an SRB into *MASTER* and that SRB performs the 
DSPSERV CREATE with TTOKEN.

However, I would still advise against this for the following reasons :

(1) There is a simpler and safer solution.
(2) It is very likely that at some point you will cause problems in either your 
system or (worse still) a customer system whilst your code is "perfected" - do 
you want to get into that?
(3) Every time there is a problem at a customer site and your fingers are in 
the *MASTER* ASID - you will not be above suspicion.
(4) The fact that you have to ask the question hints that you may not be ready 
to take on the task (apologies if that sounds rude).

Why not have a separate ASID that just owns the CADS - this can be independent 
of your main server address space?


Rob Scott
Rocket Software, Inc
275 Grove Street
Newton, MA 02466
617-614-2305
[EMAIL PROTECTED]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Gabor Hoffer
Sent: 25 July 2007 09:09
To: [email protected]
Subject: Re: DSPSERV

Rob,

My program (EventMonitor, EM) installs an ExitModul under IEFU83 and IEFU84 
Exit. The Code and Buffer (for SMF-Records that are collectet with Exit) are in 
ECSA. Exit and EM communicates with ECB and exchange data over ECSA.

There are 2 request on this architecture:
1. Able to end EventMonitor without deinstalling ExitModul, that means 
ExitModul should able to collect SMF-Records further without "parent"
AddressSpace (EventMonitor).
2. If ExitModul runs long time alone, there is not enought bufferspace in ECSA. 
I dont want to allocate to much memory in ECSA, thats why i would like to use 
CADS. Buffering in Common Data Space.

Can you explain, how i can allocate in the name of master?

My idea was, that ExitRoutine waits until MASTER writes an SMF-Record and in 
this case ExitRoutine runs under ASID=1 and can allocate CADS. I dont know how 
to force MASTER to write SMF-Record and dont know if it writes records at all.

Gabor

On 7/25/07, Rob Scott <[EMAIL PROTECTED]> wrote:
>
> Gabor
>
> There are various tricks you can use to do this - and most of them
> involve squirreling something away in one of the "always there" system
> address spaces without them knowing about it.
>
> But - why does your address space have to end?
>
> In my opinion, it would be much safer (and easier) to have a simple
> "do nothing" address space that owns the CADS - maybe with some sort
> of common storage anchor that contains the ALET and some indication of
> whether the CADS is available. Other users of this CADS can check the
> anchor control block for the ALET and flag bits before attempting to
> use it (after using TESTART to validate the ALET).
>
>
> Rob Scott
> Rocket Software, Inc
> 275 Grove Street
> Newton, MA 02466
> 617-614-2305
> [EMAIL PROTECTED]
>

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