DATA Step, Macro, Functions and more

How to compile a .sas file within a sas code

Reply
Contributor
Posts: 24

How to compile a .sas file within a sas code

I have a .sas file (Suppose code1.sas). Is there a method to compile(run) that file
using a sas code. In the Sas enterprise guide i can run that using run command.
But wondering is there a method to run the file using some sas code
Super User
Posts: 10,018

Re: How to compile a .sas file within a sas code

You can use
%include "c:\report.sas";


Ksharp Message was edited by: Ksharp
Contributor
Posts: 24

Re: How to compile a .sas file within a sas code

thanks Ksharp. This was exactly what i was looking for.

Kansas
Ask a Question
Discussion stats
  • 2 replies
  • 194 views
  • 0 likes
  • 2 in conversation