Macro options made my blue NOTES missing?
Posted: 26 February 2014 03:45 PM   [ Ignore ]
Sr. Member
RankRankRankRank
Total Posts:  169
Joined  2011-09-20

Joost and All,

I used the following command to save the macro to regular sas program.

****************************************;
options merror mprint symbolgen mfile;
FILENAME mprint   ‘S:\projects\temp\ibesnum_macro_coverted2.SAS’;


%IBESsummatch;
****************************************;

It works perfectly. However, it seems i lost the log.

after I run the macro, if i run:

data new;
set old;
run;

I have only the sas code shows on the log window, I don’t have the BLUE NOTEs anymore (there were X obs in read from the data old .... stuff)

I tried to turn off the mprint stuff by:

options nomerror nomprint nosymbolgen nomfile;

However, it seems not working for me….Any idea will be high appreciated!

of course, after restart SAS, my notes are back.

Zenghui

 Signature 

Zenghui
A humble student of business

Profile
 
 
Posted: 27 February 2014 08:21 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  901
Joined  2011-09-19

hi Zenghui,

I have trouble replicating the problem, but maybe (hopefully smile) SAS will obey this command:

OPTIONS source notes

best regards,

Joost

 Signature 

To reply/post new questions: Please use the group WRDS/SAS on Google Groups! http://groups.google.com/d/forum/wrdssas

Profile
 
 
Posted: 03 March 2014 11:53 AM   [ Ignore ]   [ # 2 ]
Sr. Member
RankRankRankRank
Total Posts:  169
Joined  2011-09-20

Dear Joost,

This options work!!!!

Thank you so much.

I have this problem when i replicate some WRDS macros randomly, and It will takes forever to track all the details in these long macros. Your options save me.

I owe you a lunch for this post. (I know i already owe more than lunches to you)

Zenghui

 Signature 

Zenghui
A humble student of business

Profile
 
 
Posted: 03 March 2014 02:30 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  901
Joined  2011-09-19

cool smile

 Signature 

To reply/post new questions: Please use the group WRDS/SAS on Google Groups! http://groups.google.com/d/forum/wrdssas

Profile