SAS uses stored process programs (not stored procedures) which are stored in a location known to the metadata. This location is called a stored process repository.
If you use SAS Management Console to look at the stored process property information, you will see where that location is on the Execution information tab. In addition, on another tab, you will see the parameters that are set for that particular stored process.
Once you know the correct location, you could look at the stored process code with Notepad or any text editor. However, I suggest that you talk to the stored process developer or author or your SAS Administrator for more help with your task. It is possible that looking at the stored process code won't answer your question, (particularly if the stored process is using a lot of macro programming) and it's handy to know who the other folks are who are responsible for configuring and using the SAS Enterprise Intelligence Platform.
If u want see the stored process(sp) program code which is created in DI studio.
While creating sp in di studio, u will get stored process name with icon----right click-->properties--> execution
here u will find the path(location of the stored process) it will be saved in the form of xxx.sas
u can open these with note pad or eg or sas 9.1.3.