BookmarkSubscribeRSS Feed
RajasekharReddy
Fluorite | Level 6

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

1 REPLY 1
Tom
Super User Tom
Super User

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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1397 views
  • 0 likes
  • 2 in conversation