Please don't mark one question as correct, then ask another question. Correct answered questions generally don't get looked at again, and it can be confusing trying to find information through multiple posts. Once you are happy a question is answered, then mark it as correct, and then if you have further questions, start a new post.
Also note, when posting questions, follow the guidance below the Post buttong when submitting new questions:
Post test data in the form of a datastep, using the code window which is the {i} above the post. This keeps formatting and shows structure and data in a usable form. Office files are dangerous.
Its also a good idea to show example output required, and what problems you get in logs etc. if there are any.
... View more