BookmarkSubscribeRSS Feed
shikpop
Calcite | Level 5
I would like to create a new dataset for a different value in where.
For Example
I have data for 11 managers and I would like a seperate dataset for each manager
How do I accomplish a new table for a different name of the manager in where clause of proc sql
1 REPLY 1
Reeza
Super User

The general concensus for such a request, is don't do it. SAS provides many methods for dealing with grouped data. No one usually listens though. 

 

https://blogs.sas.com/content/sasdummy/2015/01/26/how-to-split-one-data-set-into-many/

 


@shikpop wrote:
I would like to create a new dataset for a different value in where.
For Example
I have data for 11 managers and I would like a seperate dataset for each manager
How do I accomplish a new table for a different name of the manager in where clause of proc sql

 

 

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!

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
  • 1 reply
  • 431 views
  • 2 likes
  • 2 in conversation