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

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
Obsidian | Level 7
Thanks for your answer!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 663 views
  • 1 like
  • 2 in conversation