Very well written Leonid! I had this exact issue a few months ago and couldn’t identify a solution. Fortunately, the datasets were small so I exported them, combined the two, and then imported the combined file back into SAS. Not at all efficient or desirable. I bookmarked the post for future reference.