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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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