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

Hello team,

 

I need to learn SAS and I need to know the syntax for some of the keywords.

 

I am looking for syntax for DupOut, how to go to find the syntax and information about this key word?

 

Regards,

GN

Blue Blue
1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
data class;
 set sashelp.class;
run;


proc sort data=class dupout=want nodupkey;
by sex;
run;

View solution in original post

4 REPLIES 4
LinusH
Tourmaline | Level 20
If you are not acquainted with SAS sites try Google, DUPOUT should be a quote rare "word".
But if you intend to learn SAS, it seems a bit odd to call for a specific option on a specific procedure. Take a look at the free online Programming training, probably much more effective than looking for syntax excerpts.
Data never sleeps
GN0001
Barite | Level 11

Thanks for the response.

 

I am learning SAS; I need some place to go when I have a question; like when I go to MSDN to ask a question or learn something.

 

Regards,

GN

Blue Blue
Ksharp
Super User

Like This ?

 

data class;
 set sashelp.class;
run;


proc sort data=class dupout=want nodupkey;
by sex;
run;
Ksharp
Super User
data class;
 set sashelp.class;
run;


proc sort data=class dupout=want nodupkey;
by sex;
run;

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 3170 views
  • 3 likes
  • 3 in conversation