BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
texasmfp
Lapis Lazuli | Level 10

I did a fresh install and, some code that worked perfectly before now now longer works.  I recall that there may have been a hot fix related to ACCESS that may need to be re-applied.  But that may be unrelated.  Any ideas?  Here is the code:

 

LIBNAME WrkBk EXCEL "&ROOT\&RESPONDENT._&SEGMENT._&STAGE._additional analysis.xlsx" SCAN_TEXT=NO;
PROC APPEND force BASE=WrkBk.raw
DATA=mfpresults;
RUN;
LIBNAME WrkBk CLEAR;

Here is the log:

SYMBOLGEN:  Macro variable ROOT resolves to E:\SAS Data\
SYMBOLGEN:  Macro variable RESPONDENT resolves to PT
SYMBOLGEN:  Macro variable SEGMENT resolves to AR1920
SYMBOLGEN:  Macro variable STAGE resolves to BASE1
MPRINT(G200_COST_SENSITIVITY):   LIBNAME WrkBk EXCEL "E:\SAS Data\PT_AR1920_BASE1_additional analysis.xlsx" SCAN_TEXT=NO;
ERROR: Connect: Class not registered
ERROR: Error in the LIBNAME statement.
ERROR: Libref WRKBK is not assigned.
MPRINT(G200_COST_SENSITIVITY):   PROC APPEND force BASE=WrkBk.raw DATA=mfpresults;
MPRINT(G200_COST_SENSITIVITY):   RUN;
1 ACCEPTED SOLUTION

Accepted Solutions
texasmfp
Lapis Lazuli | Level 10

Thanks Reeza.  ACCESS was installed.  Turns out the problem was that Office suite was installed as 32-bit.  I uninstalled and re-installed in 64-bit.  Problem solved.

 

https://support.sas.com/kb/43/933.html

 

View solution in original post

2 REPLIES 2
Reeza
Super User
It seems like you may be missing the SAS/Access to PCFILES license portion. You can check what's installed with:

proc product_status;run;

and what's licensed with:

proc setinit;run;
texasmfp
Lapis Lazuli | Level 10

Thanks Reeza.  ACCESS was installed.  Turns out the problem was that Office suite was installed as 32-bit.  I uninstalled and re-installed in 64-bit.  Problem solved.

 

https://support.sas.com/kb/43/933.html

 

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 777 views
  • 0 likes
  • 2 in conversation