BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mikepark
Obsidian | Level 7

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. 

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

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.

View solution in original post

2 REPLIES 2
Kurt_Bremser
Super User

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.

Rick_SAS
SAS Super FREQ

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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 563 views
  • 1 like
  • 3 in conversation