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;