Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9118627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:11:57+00:00 2026-06-17T05:11:57+00:00

I am learning SAS. I tried to run a sample program: libname x c:\Joe\SAS\class.xls;

  • 0

I am learning SAS. I tried to run a sample program:

libname x "c:\Joe\SAS\class.xls";

data x.sheet2;
set x.'sheet1$'n;
bmi = 703 * weight / height**2;  
run;
libname x clear;

I am getting this error:

ERROR: The EXCEL engine cannot be found.
ERROR: Error in the LIBNAME statement.

I found a site on the internet that said to do something like:

libname x excel "c:\Joe\SAS\class.xls";

But I get the same error. Any ideas on how to solve this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:11:58+00:00Added an answer on June 17, 2026 at 5:11 am

    You probably do not have SAS/ACCESS to PC FILES licensed. Run:

    proc setinit; run;
    

    When I run that I have one line amongst others:

    ---SAS/ACCESS Interface to PC Files
            31DEC2012
    

    If you don’t have that line, you can’t run PROC IMPORT with an EXCEL option.

    There are workarounds. For an ‘xls’ file, ‘xls’ is a legal engine, that does not require that:

    proc import file="c:\Joe\SAS\class.xls" out=class dbms=xls replace; run;
    

    I don’t know if LIBNAME works as well here or not – but PROC IMPORT is fairly identical in how it works [only you have to pick which sheet up front, and do one IMPORT for each sheet]. PROC EXPORT is the output equivalent of PROC IMPORT.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm learning SAS and write this macro: %macro firstMacro(mvLO, OLO); %local Count; %local Wordy;
I've just started learning SAS because I'm required to use it for a statistics
I'm in the process of learning R, to wave SAS goodbye, I'm still new
Learning about Explicit Cursors and trying to create my frst one.: SET SERVEROUTPUT ON
Learning the hard way, I tried to left shift a long long and uint64_t
Recently learning Android, there is a Handler class in android which is very useful.
Learning Objective-C and reading sample code, I notice that objects are usually created using
Learning to use the fork() command and how to pipe data between a parent
Learning some VBA. So far, I've constructed this piece of code which should allow
learning the basics of Python, now ready for a bigger challange... it didn't take

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.