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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 4123 views
  • 3 likes
  • 3 in conversation