Thanks Douglas.
However, it appears I'm still not doing something right (I'm really new to SAS).
Additional info: The IDNo represents individual patients. Each patient in file1 has many test results in file2.
I am interested in analyzing the data to see, for instance, the mean value of the test results for each patient, etc.
Can you help me with the code please, starting from reading the files (my cd drive is 'D').
Thanks for the trouble.