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

For example:

proc print data=orion.sales split='*';
var Employee_ID Job_Title Salary;
label Employee_ID='Sales ID'
        Job_Title='Job Title'
        Salary='Annual*Salary';
format Salary dollar10.0;
run;

 

What will the output look like?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
ed_sas_member
Meteorite | Level 14

Hi @zihdonv19 

SPLIT identifies a special character (here it is *) that is use to break a column Label and display it on several rows:

E.g. Annual*Salary will appear in the report as 

Annual

Salary

View solution in original post

2 REPLIES 2
ed_sas_member
Meteorite | Level 14

Hi @zihdonv19 

SPLIT identifies a special character (here it is *) that is use to break a column Label and display it on several rows:

E.g. Annual*Salary will appear in the report as 

Annual

Salary

zihdonv19
Quartz | Level 8
Thanks for your answer!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 901 views
  • 1 like
  • 2 in conversation