Date: Fri, 1 Oct 2004 07:21:25 -0400
Reply-To: Don Henderson <donaldjhenderson@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Don Henderson <donaldjhenderson@HOTMAIL.COM>
Subject: Re: SAS intr/net accessing dataset
In-Reply-To: <9d1b44fd.0409302030.1a59376f@posting.google.com>
Content-Type: text/plain; charset="us-ascii"
Nevin,
The program to start the SAS Application Server probably does not have the
ALLOCATE and DATALIBS statements needed to define the library. See:
http://support.sas.com/rnd/web/intrnet/dispatch/appallib.html
for a discussion of this issue.
HTH,
-don h
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Nevin
Krishna
Sent: Thursday, September 30, 2004 11:31 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: SAS intr/net accessing dataset
I have created the following code to test a sas intr/net test
application.
ods listing close;
ods html body=_webout rs=none;
proc print data=sasweb.tst_mening_mart (obs=10);
var lastname;
run;
ods html close;
ods listing;
when i run the code in the sas program editor, the dataset is read and
an output is generated as expected. However when i try to invoke the
program from my web application, i get the following error:
NOTE: running request program sample.tst.sas
NOTE: %INCLUDE (level 1) file C:\Program Files\SAS\SAS
9.1\intrnet\sample\tst.sas is file C:\Program Files\SAS\SAS
9.1\intrnet\sample\tst.sas.
2 +ods listing close;
3 +ods html body=_webout rs=none;
NOTE: Writing HTML Body file: _WEBOUT
4 +proc print data=sasweb.tst_mening_mart (obs=10);
ERROR: Libname SASWEB is not assigned.
5 +var lastname;
6 +run;
Why is the data set not being read? Where should the Datasets be
stored when being accessed by a web application?
Thanks for any help,
Nevin Krishna