LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2005)Back to main CICS-L pageJoin or leave CICS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 29 Apr 2005 15:37:11 -0400
Reply-To:   CICS List <CICS-L@LISTSERV.UGA.EDU>
Sender:   CICS List <CICS-L@LISTSERV.UGA.EDU>
From:   Joseph Fatula <jfatula@AESSUCCESS.ORG>
Subject:   Fw: Using Shared Memory in CICS
Content-type:   text/plain; charset=US-ASCII

An interesting gotcha comes to mind. A region can be run Short on Storage by a program in a loop doing Getmain Shared and the only easy recovery option is to recycle the region (unless the storage is tracked and the unnecessary storage is freemained--an iffy thing at best in the middle of an SOS condition--the task may ironically need storage to free storage--"Catch 22"). If nonshared storage was used--the abend or end of the task would free the storage--not so with Shared.

Joe Fatula

----- Forwarded by Joseph Fatula/PHEAA on 04/29/2005 03:33 PM -----

"Chase, John" <jchase@USSCO.COM > To Sent by: CICS CICS-L@LISTSERV.UGA.EDU List cc <CICS-L@LISTSERV. UGA.EDU> Subject Re: Using Shared Memory in CICS

04/29/2005 03:30 PM

Please respond to CICS List <CICS-L@LISTSERV. UGA.EDU>

> -----Original Message----- > From: CICS List On Behalf Of Visser, Michael J (Mike) > > I am exploring the feasibility of using shared memory in CICS. > > What are the pitfalls?

Forgetting to serialize access to it, forgetting to explicitly FREEMAIN it when done with it ("last task out please turn off the lights").

> Are there reasons not to use shared memory in CICS?

Apart from the "pitfalls", no.

> Other IPC considerations?

I think not.

-jc-


Back to: Top of message | Previous page | Main CICS-L page