Resources

SAS University Edition: Help Center


How do I view the SAS code that the SASPy module automatically generates?

You can view the SAS code that is automatically generated by the SASPy module by using the teach_me_SAS session object. When you set the value of the teach_me_SAS session object to true and then run your code, the SAS code that is automatically generated is displayed instead of the results.

Code example with the teach_me_SAS object

To return to displaying your code results, set the value of teach_me_SAS to false.