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

I'm trying to see if I understand how the data was originally stored given how the code extracts it. I know this was Truven data, but unclear if this was csv or xpt or something else... ? 

 

Is there a way to tell? 

 

%let elig_list=ccaet144 ccaet114 ccaet124 ccaet134;

/*Collapse eligibility claims*/ 

	data elig_1; 
		set %do i=1 %to %sysfunc(countw(&elig_list.));
		%let filename = %scan(&elig_list., &i.);
					raw.&filename.
			%end;
		; 
1 ACCEPTED SOLUTION

Accepted Solutions
collinelliot
Barite | Level 11

The "set" statement in the code would indicate that this is a list of SAS datasets.

View solution in original post

4 REPLIES 4
collinelliot
Barite | Level 11

The "set" statement in the code would indicate that this is a list of SAS datasets.

cdubs
Quartz | Level 8

I see -- thank you! 

 

I know this was a commercial claims source. Are claims data usually stored as SAS datasets?

collinelliot
Barite | Level 11

I'm guessing that's likely a company-specific convention. Probably a colleague of yours would be a better bet for that kind of information. Sorry.

cdubs
Quartz | Level 8

Makes sense-- thanks! 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 755 views
  • 1 like
  • 2 in conversation