Error in running sas

  • Follow


I keep getting errror
WARNING: One or more libraries specified in the concatenated library
SASHELP
         do not exist.  These libraries were removed from the
concatenation.
When I run a program it give this error
ERROR: Connect: =01
ERROR: Error in the LIBNAME statement.
Does anyone have an idea what I can do to get my sas back to running
ok.
0
Reply pogindo 1/12/2010 9:28:16 AM

Dear SAS-L-ers,

Pogindo posted the following:

>
> I keep getting errror
> WARNING: One or more libraries specified in the concatenated library
> SASHELP
>          do not exist.  These libraries were removed from the
> concatenation.
> When I run a program it give this error
> ERROR: Connect:
> ERROR: Error in the LIBNAME statement.
> Does anyone have an idea what I can do to get my sas back to running
> ok.
>
Pogindo, well, it's no fun to get an error on SAS start-up; especially one so obtuse!  Here is what I think may be happening:  More than likely, one of the SAS products your organization used to license has been removed, and that has not been reflected in your SAS config file.  Sound absurd?  Well, let's put it to the test!

1. Open your SASV9.cfg file.

2. Scroll down until you see the beginning of the concatenation of your SASHELP files.  You will see a list following an entry that looks like:

/* Setup the SAS System help directory definition */

-SASHELP

3. Look at all of those directories listed in the concatenation for SASHELP.  Use Windows Explorer and verify that each directory (e.g. "!sasext0\af\sashelp") actually exists.  If it does not, then remove it from your SASHELP concatenation list.

4. If they all do exist, delete this message immediately and don't take any advice I offer until April 27th:-)

Pogindo, write back and let us know if this was the root cause of your problem.

Pogindo, best of luck in all of your SAS endeavors!


I hope that this suggestion proves helpful now, and in the future!

Of course, all of these opinions and insights are my own, and do not reflect those of my organization or my associates. All SAS code and/or methodologies specified in this posting are for illustrative purposes only and no warranty is stated or implied as to their accuracy or applicability. People deciding to use information in this posting do so at their own risk.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Michael A. Raithel
"The man who wrote the book on performance"
E-mail: MichaelRaithel@westat.com

Author: Tuning SAS Applications in the MVS Environment

Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second Edition
http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=58172

Author: The Complete Guide to SAS Indexes
http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=60409

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
We learn from experience that men never learn anything from
experience. - George Bernard Shaw
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0
Reply michaelraithel (1034) 1/12/2010 9:29:20 PM


> From: pogindo
> Subject: Error in running sas
>
> I keep getting errror
> WARNING: One or more libraries specified in the concatenated library
> SASHELP
>          do not exist.  These libraries were removed from the
> concatenation.
> When I run a program it give this error
> ERROR: Connect:
> ERROR: Error in the LIBNAME statement.
> Does anyone have an idea what I can do to get my sas back to running
> ok.

Your SysAdmin did not install all the products available under the
license.

run these statements:

proc setinit;run;

you'll see a list of products:

---Base Product
---SAS/STAT
---SAS/GRAPH

....

---SAS/ACCESS Interface to PC Files

etc.

find your primary configuration file:

C:\Program Files\SAS\SASFoundation\9.2\nls\en\SASv9.cfg

COPY THIS FILE SO YOU HAVE A BACKUP!

open w/NotePad

find the sashelp allocation

/* Setup the SAS System help directory definition */
-SASHELP       (
                "!SASCFG\SASCFG"
                "!sasroot\core\sashelp"
....
                "!sasext0\qc\sashelp"
                "!sasext0\stat\sashelp"
               )

check off each folder named against the listing from
proc setinit;

the missing folder is your culprit

now: how to solve your error message

remember that backup file?!

remove that folder

save file

start SAS

still got error?

my fingers are crossed that you do not.

Ronald J. Fehd, IT Spec
HelpDesk Level 3: SAS
CDC SAS site representative
0
Reply rjf2 (3354) 1/12/2010 9:31:48 PM

2 Replies
481 Views

(page loaded in 0.119 seconds)

Similiar Articles:













7/25/2012 8:55:22 AM


Reply: