I have read a lot about DATA steps and how the role of the PDV. However, when the data gets to the PROC step. What happens? It seems like there is not as much literature on this but maybe I am wrong.
While a data step is always compiled from the code, procedures are pre-compiled modules that are fed with parameters according to your coding. While data step is a "turing-complete" language, procedures have a fixed limited set of capabilities, and therefore there is no need of an in-depth description of the workings.
While a data step is always compiled from the code, procedures are pre-compiled modules that are fed with parameters according to your coding. While data step is a "turing-complete" language, procedures have a fixed limited set of capabilities, and therefore there is no need of an in-depth description of the workings.
Do you have a specific question about a specific procedure?
In general, the procedure reads one observation at a time from a SAS data set. Before the procedure sees any data, the data are filtered by any data set options, such as DROP, KEEP, RENAME, and WHERE clauses. Thus, the procedure sees only the filtered data.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.