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;

sas-innovate-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

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