06-25-2013 02:54 PM
I am getting the following error while running the code for proc sort
3646 proc sort data= tmp.project_tracker;
3647 by ANALYSIS_NAME ANALYST_NAME;
ERROR: Variable PUBLISH_DATE is not on file tmp.PROJECT_TRACKER.
I initialy created a tracker with publish date but i dropped the dataset, removed all the constraints, and recreated the dataset.
But am getting this error.
Can anyone guide me on this?
06-25-2013 05:09 PM
If you can't run proc contents, I'm out of ideas.
Talk to tech support or hopefully someone else has better answers.
I'd delete everything and start again...or at least restart SAS and try again, but who knows
06-25-2013 05:18 PM
Yeah I tried that a couple of times and same error was coming up.
I figured out the issue. The library was preassigned using the SAS Management console and the library was registered in the metadata. Deleting the library solved the issues.
Thanks a lot for the suggestions.
06-25-2013 03:18 PM
Is it a dataset or a view? If the view is still referencing the variable but the variable no longer exists you will get a similar error.
Just a thought.