BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
angird1990
Calcite | Level 5

Hi all,

When i use the MATCH_ALL= option in ODS OUTPUT statement, it is causing warnings. Please refer to the below image and suggest.

angird1990_0-1704264138086.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
FreelanceReinh
Jade | Level 19

Hi @angird1990 and welcome to the SAS Support Communities!

 

In the correct syntax (see ODS OUTPUT statement documentation) MATCH_ALL or MATCH_ALL=mvarname occurs in parentheses after the output object name.

 

In your example:

ods output summary(match_all=var_name)=stats;
proc means data=sashelp.class;
run;

Typically, MATCH_ALL is used in situations where two or more ODS output datasets are created.

 

Example:

ods output summary(match_all=dslist)=stats1;
proc means data=sashelp.cars;
by make;
run;

%put &=dslist;

View solution in original post

2 REPLIES 2
FreelanceReinh
Jade | Level 19

Hi @angird1990 and welcome to the SAS Support Communities!

 

In the correct syntax (see ODS OUTPUT statement documentation) MATCH_ALL or MATCH_ALL=mvarname occurs in parentheses after the output object name.

 

In your example:

ods output summary(match_all=var_name)=stats;
proc means data=sashelp.class;
run;

Typically, MATCH_ALL is used in situations where two or more ODS output datasets are created.

 

Example:

ods output summary(match_all=dslist)=stats1;
proc means data=sashelp.cars;
by make;
run;

%put &=dslist;

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 2 replies
  • 850 views
  • 0 likes
  • 2 in conversation