BookmarkSubscribeRSS Feed
nayab_shaik
Calcite | Level 5

 

Hi Team,

 

data ds1;
infile datalines;
input id age;
cards;
101 23
102 56
103 45
104 25
105 21
106 47
;
run;

how to find out 101 and 102 by using monotonic by using proc sql

 

Advance Thanks

 

2 REPLIES 2
Kurt_Bremser
Super User

You seem to suffer from a severe reading issue. Or you don't give a ******* **** about our advice.

 

PLEASE USE A DESCRIPTIVE SUBJECT!

 

You have been asked several times now.

ballardw
Super User

@nayab_shaik wrote:

 

Hi Team,

 

data ds1;
infile datalines;
input id age;
cards;
101 23
102 56
103 45
104 25
105 21
106 47
;
run;

how to find out 101 and 102 by using monotonic by using proc sql

 

Advance Thanks

 


Find out what about 101 and 102? A display of the expected result might help here.

 

Why is the use of monotonic, an undocumented feature subject to change, required?

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 2 replies
  • 1360 views
  • 2 likes
  • 3 in conversation