I doubt that anyone has ever written code that does a STOW, does not wait for the STOW to complete, and moves onto the next DD before the STOW completes. It's not impossible, but it would probably require another simultaneously running task and a clever and bold developer to pull it off. The task that does a STOW, either directly or indirectly by having the operating system do it (perhaps through an OPEN or a CLOSE?), loses control until the STOW processing is complete.
Bill Fairchild Software Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.4503 * Mobile: +1.508.341.1715 Email: [email protected] Web: www.rocketsoftware.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Terry Sambrooks Sent: Tuesday, April 06, 2010 10:43 AM To: [email protected] Subject: Re: Overlap Error Hi Lizette, With regard to you comment on Ravi's problem: "For instance, does this program wait for stow to complete before moving onto the next DD?" Judging by the JCL sample he that was supplied with the original query, the Program is not performing a STOW it is relying on the operating system to do that. ---------------------------------------------------------------------- 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

