Help using Base SAS procedures

Modify statement giving error

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

Modify statement giving error

Following is the code I tried

 

modify clustera.basedata;
rename Score__R=Score_R;
run;

 

ERROR 180-322: Statement is not valid or it is used out of proper order.


Accepted Solutions
Solution
‎10-16-2015 12:34 AM
Super User
Posts: 19,869

Re: Modify statement giving error

That code as is isn't valid. Is it wrapped in a proc datasets? i.e.
proc datasets library=clustera;
modify clustera.basedata;
rename score__r=score_r;
run;quit;

View solution in original post


All Replies
Solution
‎10-16-2015 12:34 AM
Super User
Posts: 19,869

Re: Modify statement giving error

That code as is isn't valid. Is it wrapped in a proc datasets? i.e.
proc datasets library=clustera;
modify clustera.basedata;
rename score__r=score_r;
run;quit;
New Contributor
Posts: 2

Re: Modify statement giving error

Ahh yes!!!. That fixed it ... Thanks a lot !!

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 258 views
  • 0 likes
  • 2 in conversation