BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Reeza
Super User

You keep changing topics. This is not the code to create a data step version. This is a different question entirely. Please separate them so its more clear what you're trying to do. This will be my last response to this thread, please post a new question if you have details. 

 

In your post below you've started your code with 

 

DATA= -> there is no equal sign after data in a data step. 

 

Also, you're continuing to use that logic of using a lower value with the new data sets. This would erase your previous data set by the way, which I somehow doubt you actually want to do.

 

 

72 data=practice.CompuStat_Execucomp2; <- usually you increment the new data set to be higher than the old data set. THis is the name of the output data set; 

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

73 set practice.CompuStat_Execucomp3; <- input data set;

 

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!

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
  • 30 replies
  • 2721 views
  • 12 likes
  • 4 in conversation