BookmarkSubscribeRSS Feed
Super User

SAS is saying your input data set, called WANT in your code does not have the variables you're trying to use. 


Run a PROC CONTENTS on your data set to verify that you have the variables you need.


proc contents data=want;

If the data set does not have the variables Lgoldprice and Lsilverprice, then there's no data to be used. Check the output in the results pane to see if the variables are present. 



You say there's no way to 'combine them'. What's them? What type of combination are you thinking of here?

From the code you've posted earlier your data set only has month so not sure where you're expecting the prices to come from. 


Opal | Level 21

You should refer to the transformed data, not the original version.

Calcite | Level 5

Sory ,my orijinal data (goldprice and silverprice)   in table WORK.IMPORT and OUTMONTH created in table WORK.WANT how can I  put  it them in one table , So I can apply my program PROC VARMA . 

Calcite | Level 5

thanks very much for your answer, but I think the data is unclear , I will send my details to be clear to you

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 18 replies
  • 5 in conversation