1.12. Viewing and Editing SAS Code Generated by a Task

If you are a SAS programmer, you’ll probably want to see the SAS code generated by SAS Enterprise Guide. Sometimes, you may also want to edit the SAS code generated by SAS Enterprise Guide. There is more than one way to do this. You can insert your own custom code into the SAS program written by a task, or you can save the code generated by a task in a separate file which allows you to edit any part of the program.

Viewing Code Generated by a Task

Many task windows have a Preview code button in the lower-left corner. If you click this button, SAS Enterprise Guide will open a Code Preview window displaying the code that SAS Enterprise Guide has written for that task.

Get The Little SAS® Book for Enterprise Guide® 4.1 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.