> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On > Behalf Of Craddock, Chris > Sent: Tuesday, January 22, 2008 1:29 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: How does ATTACH pass address of ECB to child? (1 <Snipped> > In anything but the most trivial case you need more application logic > combined with a queuing mechanism so that missing a post is harmless.
Granted, but the converse is also true: A posix-style semaphore or queuing mechanism is way overkill for the simplest cases, which IMHO most non-software-house application (not systems) programmers are most likely to need or encounter. Typical in my non-software-house application experience is a single master task with N children, each child with different responsibilities, and each child's only communication need is with the parent, not with any sibling. In this type of application, ECB/POST/WAIT is more than adequate and no requests are ever lost using FastPOST or FastWAIT. Software houses and systems programmers tend to deal with far more complex designs where multiple requestors and/or multiple servers are involved. For those applications a semaphore or queuing mechanisms of some sort are certainly the correct solution. BTDTGTTSTPI. IOW, suit the tool to the job you need to accomplish. ECB/POST/WAIT is a perfectly proportioned mechanism for even quite sophisticated application programming. It's only when you must step up to the next level of multiple requestor/server designs that ECB/POST/WAIT becomes insufficient to your application's needs. Peter This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- 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