If you're new to SAS trying to use multiple SET statements is an advanced topic - one that I usually test multiple times and have really only used a few times in my career for efficiency gains. Can you explain what you're trying to do and why you think SET is the right approach?