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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 926 views
  • 0 likes
  • 2 in conversation