Robert W. Graebner put forth a paper discussing "Creating Metadata-Driven Program Logic with the SAS Call Execute Routine - An Example with CTC Grading of Laboratory Results" at the Midwest SAS Users Group Meeting.

This paper presents a solution in which a DATA step is used to access CTC grading logic metadata and the CALL EXECUTE routine is used to place the associated SAS® statements in the SAS command stack for execution after the DATA step has finished. This process creates a virtual DATA step that will assign the CTC grades to each observation in the laboratory results data set.