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