Whenever you run a SAS program, you should look at the log file. In fact, I have set up keys on my SAS sessions so that when I hit F8, it submits and then goes to the log. One possible exception is when you are running the exact same program on different data, but, even here, I check the log. There might be something wrong with the data.
So, check the log! You’ll save yourself time and anguish and errors in the long run.
To set up your keys, press F9 and then edit the commands you see there.