I am working in SAS EG and have a program that pulls from multiple databases, does some analysis, and outputs a summary table with some new data. I am now told that I need to do this dozens of times, and am very much struggling with making a loop do this in SAS with the internal proc SQL statements.
Let me try to summarize that again with a bit more detail.
Current code:
takes in employee number, fleet, position and outputs a summary table about various things they did that month compared to other people in their category (mostly using proc SQL).
I need to do:
Given another table with a list of dozens of those same variables (employee number, fleet, position) I need to generate the same summary information for each of those unique employee information.
Any help is greatly appreciated! Still very new to SAS (not SQL as much) so the more descriptive the better.