Fri, 10 Sep 1999 09:42:47 -0700
----------------------------
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: 7bit
Gary/All,
I am still looking to get the listener to shutdown using the ECB specified
in the SELECTEX. I do not understand the concept. Can you please explain
exactly what I am expected to see at this location. I only vaugely
understand what an ECB is. I realise other people have gotten their
listeners to shutdown using other methods. However, I would at least like to
get the SELECTEX approach working.
Regards - Stefano
---------------Stefan Afendoulis
ZSI Project, Integration team
Grupa Pekao SA
Gieldowa 5
01-211 Warszawa
Republic of Poland
email: Stefan.Afendoulis@bigfoot.com
Tel: +48 22 534-2651
Fax: +48 22 534-2700
Cellular: +48 604 379-312
----------------------------
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: 7bit
Gary/All,
I am still looking to get the listener to shutdown using the ECB specified
in the SELECTEX. I do not understand the concept. Can you please explain
exactly what I am expected to see at this location. I only vaugely
understand what an ECB is. I realise other people have gotten their
listeners to shutdown using other methods. However, I would at least like to
get the SELECTEX approach working.
Regards - Stefano
---------------Stefan Afendoulis
ZSI Project, Integration team
Grupa Pekao SA
Gieldowa 5
01-211 Warszawa
Republic of Poland
email: Stefan.Afendoulis@bigfoot.com
Tel: +48 22 534-2651
Fax: +48 22 534-2700
Cellular: +48 604 379-312
----------------------------
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Gary,
Just this makes sense. I can EDF the listener and check for CICS shutdown.
What I am more worried about is EZAO STOP CICS/LISTENER processing. My
listener, as opposed to the CSKL IBM listener has not way of stopping by way
of EZAO STOP. I just quickly looked at the IP Sockets guide, and it looks
like I have been assuming "shutdown" was IP Socket interface shutdown,
rather than CICS shutdown. Perhaps the EZAO STOP will never work for my use
written listener?
Stefano
----- Original Message -----
From: Gary L Peskin <a href="mailto:garyp@firstech.com">garyp@firstech.com/a>>
To: Stefan Afendoulis <Stefan.Afendoulis@bigfoot.com>
Sent: Friday, September 10, 1999 12:09 AM
Subject: Re: IP Sockets for CICS listener shutdown processing
Stefan --
An ECB is just a fullword that is posted, usually by some other process,
by changing the high order byte to a X'40'. In the case of the LCATECB,
this ECB is supposedly posted when CICS is shutting down.
After your selectex call, check to see if the LCATECB is non-zero. If
so, CICS is shutting down and you should terminate your listener.
When I looked at your code, it looked fine.
You should be able to trace your code using CEDF (or CEDX). When you
get to the SELECTEX call, does this stop in EDF? If not, you could
always put a DELAY, DUMP or some such CICS call just to cause EDF to
stop. Examine the parameter list to the SELECTEX call to verify that
the parameter is pointing to the correct LCA. Your R10 should be
pointing to an LCA which has the same TRANID as your listener
transaction. If EDF doesn't show you R10, just save it to somewhere in
your DFHEISTG just before calling the SELECTEX.
Keep an eye on the LCATECB address in the LCA using the "Working
Storage" option of EDF to examine the actual address. When CICS is
shutting down, that LCATECB should change from zero to non-zero and your
TM for X'40' should detect this.
Does this make sense?
Gary
Stefan Afendoulis wrote:
>
> Gary/All,
>
> I am still looking to get the listener to shutdown using the ECB specified
> in the SELECTEX. I do not understand the concept. Can you please explain
> exactly what I am expected to see at this location. I only vaugely
> understand what an ECB is. I realise other people have gotten their
> listeners to shutdown using other methods. However, I would at least like
to
> get the SELECTEX approach working.
>
> Regards - Stefano
---------------> Stefan Afendoulis
>
> ZSI Project, Integration team
> Grupa Pekao SA
> Gieldowa 5
> 01-211 Warszawa
> Republic of Poland
>
> email: Stefan.Afendoulis@bigfoot.com
>
> Tel: +48 22 534-2651
> Fax: +48 22 534-2700
> Cellular: +48 604 379-312
----------------------------
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Gary,
Just this makes sense. I can EDF the listener and check for CICS shutdown.
What I am more worried about is EZAO STOP CICS/LISTENER processing. My
listener, as opposed to the CSKL IBM listener has not way of stopping by way
of EZAO STOP. I just quickly looked at the IP Sockets guide, and it looks
like I have been assuming "shutdown" was IP Socket interface shutdown,
rather than CICS shutdown. Perhaps the EZAO STOP will never work for my use
written listener?
Stefano
----- Original Message -----
From: Gary L Peskin <a href="mailto:garyp@firstech.com">garyp@firstech.com/a>>
To: Stefan Afendoulis <Stefan.Afendoulis@bigfoot.com>
Sent: Friday, September 10, 1999 12:09 AM
Subject: Re: IP Sockets for CICS listener shutdown processing
Stefan --
An ECB is just a fullword that is posted, usually by some other process,
by changing the high order byte to a X'40'. In the case of the LCATECB,
this ECB is supposedly posted when CICS is shutting down.
After your selectex call, check to see if the LCATECB is non-zero. If
so, CICS is shutting down and you should terminate your listener.
When I looked at your code, it looked fine.
You should be able to trace your code using CEDF (or CEDX). When you
get to the SELECTEX call, does this stop in EDF? If not, you could
always put a DELAY, DUMP or some such CICS call just to cause EDF to
stop. Examine the parameter list to the SELECTEX call to verify that
the parameter is pointing to the correct LCA. Your R10 should be
pointing to an LCA which has the same TRANID as your listener
transaction. If EDF doesn't show you R10, just save it to somewhere in
your DFHEISTG just before calling the SELECTEX.
Keep an eye on the LCATECB address in the LCA using the "Working
Storage" option of EDF to examine the actual address. When CICS is
shutting down, that LCATECB should change from zero to non-zero and your
TM for X'40' should detect this.
Does this make sense?
Gary
Stefan Afendoulis wrote:
>
> Gary/All,
>
> I am still looking to get the listener to shutdown using the ECB specified
> in the SELECTEX. I do not understand the concept. Can you please explain
> exactly what I am expected to see at this location. I only vaugely
> understand what an ECB is. I realise other people have gotten their
> listeners to shutdown using other methods. However, I would at least like
to
> get the SELECTEX approach working.
>
> Regards - Stefano
---------------> Stefan Afendoulis
>
> ZSI Project, Integration team
> Grupa Pekao SA
> Gieldowa 5
> 01-211 Warszawa
> Republic of Poland
>
> email: Stefan.Afendoulis@bigfoot.com
>
> Tel: +48 22 534-2651
> Fax: +48 22 534-2700
> Cellular: +48 604 379-312