Help using Base SAS procedures

How to test the result of options mlogic mprint; without really run it

Reply
Regular Contributor
Posts: 222

How to test the result of options mlogic mprint; without really run it

.Hello everyone,

The code below I just what to see the macro options  show "mlogic and mprint" result of the macro, but I don't want it be executed,just for testing the code before it will be run in the remote server .Please give me asome advice.

Thanks!

Mike.

options mlogic mprint;

%macro one;

rsubmit;

data a;

.....

run;

proc sql;

create table b as

....

;

quit;

...

endrsubmit;

%mend one;

%one;

Trusted Advisor
Posts: 2,113

Re: How to test the result of options mlogic mprint; without really run it

In order to get the results, you have to run it on some server, somewhere.  You could set

OPTIONS OBS=0;

to minimize the resources used.

Doc Muhlbaier

Duke

Super User
Posts: 9,691

Re: How to test the result of options mlogic mprint; without really run it

Of course.Don't forget to set it back OPTIONS OBS=MAX ;

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