Date: Wed, 23 Feb 2005 10:31:39 -0500
Reply-To: Matt Pettis <matt.pettis@THOMSON.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Matt Pettis <matt.pettis@THOMSON.COM>
Subject: Re: Creating dynamic Mainframe dataset using libname
When does the error occur? My understanding is, with DISP=SHR on the
LIBNAME statement, the library is write-protected... you might want to try
DISP=OLD on the LIBNAME statement instead...
Matt Pettis
On Wed, 23 Feb 2005 05:42:11 -0800, Basem <batawfic@GMAIL.COM> wrote:
>I'm trying to create a name-dynamic Mainframe dataset to hold my SAS
>dataset, I mix things up and do not know how to do that, I tried to
>use Mainframe creation parameters like DSORG, LRECL .. etc in libname
>statement but always got the error message of invalid options, so I
>tried the following code
>
>FILENAME FOUTDS "&MDSNAME"
> DSORG=PS RECFM=FBS LRECL=6144
> UNIT=MICDA
> SPACE=(TRK,(1000,100),RLSE)
> DISP=(NEW,CATLG);
> RUN;
>
>LIBNAME OUTDS "&MDSNAME" DISP=SHR;
> RUN;
>
>it worked perfect except of the following error:
>ERROR: Write access to member OUTDS.ASSET_FOR_SECURITY.DATA is denied
>so I create the right thing but can not use it.
>
>Please I need help me to sort things out?
|