OPTIONS LS=64 PS=60; *****************************; *** READING DATA FROM AN ***; *** EXTERNAL TEXT FILE ***; *****************************; DATA mix; INFILE 'name.dat'; INPUT x1 $ x2 x3; PROC PRINT DATA = mix; * For PC SAS, specify the path *; * of the directory containing *; * the data set file name.dat *; * DATA mix; * INFILE 'c:\sassem\name.dat'; * INPUT x1 $ x2 x3; /* ================================== The file ==> name.dat <== is a column-formatted text file in your directory that contains the data. It would look like: A 29.9 56 A 11.4 69 A 25.3 67 A 16.5 99 B 26.6 89 B 23.7 60 B 28.5 56 B 14.2 45 B 17.9 77 ================================== */ RUN;