BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Supra8Bit
Fluorite | Level 6

Hello! My the first experience here. I begin to introduce SAS and look for tables specified in the macro. Looks like this - with no prefixes and no path. Where can they be ATTR? They are not in SQL Database.111.jpg

%macro mEquiScoreFull;
%macro dummy; %mend dummy;

proc sql;
create table status0 as
select a.V as PaymtPat, b.*,c.*
from ATTR a
join CREDIT b
on a.C_I=b.CRED_ID and a.n=831
join RESPONSE c
on 1=1;
quit;

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

WORK is a dynamic library, created at the start of a SAS process and deleted when it terminates. To have datasets in there, they must be created during th "lifetime" of the current SAS session.

 

Since you seem to be a SAS beginner, I strongly advise that you make yourself familiar with the SAS basics before you try to work with someone else's macro code. Macro coding is a fairly advanced subject, so I advise you work through the free online Programming 1 course first.

View solution in original post

4 REPLIES 4
Supra8Bit
Fluorite | Level 6
Thanks for aiming. I found the Work library, but I don 't see any similar tables in it. There is (in Work) only one system table describing the SAS components and the infe. about the license. Maybe I 'm looking out there or can short names refer to other libraries?
Kurt_Bremser
Super User

WORK is a dynamic library, created at the start of a SAS process and deleted when it terminates. To have datasets in there, they must be created during th "lifetime" of the current SAS session.

 

Since you seem to be a SAS beginner, I strongly advise that you make yourself familiar with the SAS basics before you try to work with someone else's macro code. Macro coding is a fairly advanced subject, so I advise you work through the free online Programming 1 course first.

Supra8Bit
Fluorite | Level 6
Thanks a lot! It seems that it is really necessary to pass the course if in the future it is necessary to solve such tasks.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 4 replies
  • 2799 views
  • 0 likes
  • 2 in conversation