Date: Wed, 9 Aug 2000 21:57:53 +1200
Reply-To: Don Stanley <don_stanley@XTRA.CO.NZ>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Don Stanley <don_stanley@XTRA.CO.NZ>
Subject: Re: MVS - output to multiple members of a PDS
Content-Type: text/plain; charset=us-ascii
I agree that SAS says it cannot be done and would be interested to know if
someone had successfully done it. I believe Fabrizio is correct in his
assertion and the words "the very same time" are the important ones. The ISPF
editor appears to allow multiple members to be opened at the same time. In
fact, it only opens the members to write to when you exit or issue a SAVE
command. To do these commands requires the directory of the PDS to be updated.
The directory for all intents and purposes requires an exclusive hold to do an
update, so at the "very same time" no two members can be written.
You can update multiple members as I recall using a separate view for each
member and then setting both views in the same datastep. But don't quote me on
that, I'm thinking back awhile.
F a b r i z i o wrote:
> Mathur, Mukesh [IBM GSA] wrote in message
> >Hello MVS people,
> >We have a job that updates multiple members of a PDS in one datastep. This
> >has been running ok on one mainframe, but when we moved it to another
> >it failed. Error was' Open failed for pds - Multiple members of a single
> >cannot be open for output at the same time'.
> Cannot imagine MVS would allow multiple members to be written to the
> same PDS at the very same time. Maybe your first site has special
> system software running to handle this type of problem?
> It is certainly not a virtue of SAS to facilitate techniques not supported
> your operating system.
> HTH? Fabrizio
Don Stanley, B.SC, Dip O.R.S, MNZCS Director, Sysware Consulting Group
Box 634, Wellington, NEW ZEALAND
Author:: Beyond the obvious with SAS Screen Control Language.
Author:: Solutions for your GUI Applications Development Using SAS/AF FRAME
SAS Tips:: http://www.geocities.com/don_stanley_nz/sastips.htm