To filter data, you never need a macro, but a WHERE (SQL, DATA or PROC step) or a subsetting IF in a DATA step.
Macros are for creating dynamic code.
For any help with your task, post example data (in text form, preferably as DATA step code with DATALINES), and the code you tried.
my sas problem is
: • Write a SAS macro program that accepts a season and player name specified by the user and creates a
graphical and summary analysis of the three-point field goal percentage (3FG%) of that player for that
season. Include separate breakdowns of this statistic by month and opposing team.
Quote from my earlier reply:
For any help with your task, post example data (in text form, preferably as DATA step code with DATALINES), and the code you tried.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.