BookmarkSubscribeRSS Feed
5 REPLIES 5
shahparth260
Quartz | Level 8

Why you want to do manually , I think it must be some dynamic way.

Can I get sample data which I can import in my SAS ?

PS
deentran
Calcite | Level 5

I don't know how to fix it simply. 

singhsahab
Lapis Lazuli | Level 10

you can import your excel file by using PROC IMPORT procedure.

 

just need to update filepath in %let path statement. 

 

%let path=filepath;
proc import datafile="&path.\data.xlsx"
out=want dbms=excel replace;
run;

Shmuel
Garnet | Level 18

CSV stands for Comma Separated Vector.

It can be imported by SAS using either CSV engine or by DLM=",".

 

See proc import documentation:

http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000332605.htm

 

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
  • 5 replies
  • 1964 views
  • 0 likes
  • 5 in conversation