Date: Wed, 23 Feb 2005 10:36:58 -0500
Reply-To: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject: Re: Creating dynamic Mainframe dataset using libname
Yes, you'r mixing up something. Do not use a filename to allocate a SAS
library! Use a LIBNAME to do so. Something like:
1 libname test "int5112.sas.xxx" disp=new space=(CYL,(10,2));
NOTE: Libref TEST was successfully assigned as follows:
Engine: V8
Physical Name: INT5112.SAS.XXX
should assign a new library. Depending on your system it might be necessary
to add some other parameters. But try to keep it simple like that first,
then ask your systemers what you have to add to get it to work. Refer to the
SAS online help or to the SAS Companion for zOS (or MVS) for examples how to
tell your libname statement, how to do.
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?
|