DATA Step, Macro, Functions and more

Not to genrate PDF automatically

Reply
Contributor
Posts: 40

Not to genrate PDF automatically

 

ods listing close;

Ods pdf file "C:\download\abc.pdf";

Proc print data=sashelp.class;

run;

ods _all_ close;

 

 

my code is running fine but when I am ruuning this code it open the PDF  'abc'  autmatically .

I do not want PDF to be open automatically .How can i acheive that 

 

 

Contributor
Posts: 57

Re: Not to genrate PDF automatically

I am seeing some error in your code.Just added "=" sign for the ods pdf statement. Now try this one.

ods listing close;
Ods pdf file= "C:\download\abc.pdf";
Proc print data=sashelp.class;
run;
ods _all_ close;
Contributor
Posts: 40

Re: Not to genrate PDF automatically

Posted in reply to lakshmi_74

That was typo mistake it still  open PDF automatically 

Super Contributor
Posts: 345

Re: Not to genrate PDF automatically

Check the options of the client you are using. Enterprise Guide and SAS Studio have options to prevent the opening of generated results. Unfortunately this option is active or not for all results.

Ask a Question
Discussion stats
  • 3 replies
  • 123 views
  • 0 likes
  • 3 in conversation