DATA Step, Macro, Functions and more

Data _null_ set obs=0 Note

Reply
Contributor
Posts: 30

Data _null_ set obs=0 Note

Hi

 

when i run below code i got note  log file " NOTE: SAS set option OBS=0 and will continue to check statements. This might cause NOTE: No observations in data set. "
and the macro varibale gwhitelist has null value and resolving as ' ' ;

 

 

data _null_;
        length WhiteList $1024; 
        WhiteList = prxChange("s#.*/svnrepo/\w*/(.*)/\w*\.sas.*#/opt/common/test/macros/$1/whitelist.xls#",1,
'$HeadURL: http://GLOBALMACROLIBARY/testing_area/macros/macro_library/core.sas $' );
        call symput("gWhiteList",strip(WhiteList));
    run;

 

can any one help me to resolve this issue

 

Regards,

Rajasekhar

Super User
Super User
Posts: 6,500

Re: Data _null_ set obs=0 Note

[ Edited ]

You didn't post the log so hard to see if there was an issue with the way you submitted the code. Perhaps the lines were too long and became truncated?

 

But most likely an earlier error has put SAS into a mode where it is not running anyghing.

I would suggest looking higher in the log for the error that actually caused SAS to set OBS=0.

Ask a Question
Discussion stats
  • 1 reply
  • 106 views
  • 0 likes
  • 2 in conversation