proc print data=proclib.product noobs; title 'The Input Data Set'; run; proc transpose data=proclib.product out=proclib.product_transposed; run; proc print data=proclib.product_transposed noobs; title 'The Output Data Set'; run;
The Input Data Set 1 Tester1 Tester2 Tester3 Tester4 22 25 21 21 15 19 18 17 17 19 19 19 20 19 16 19 14 15 13 13 15 17 18 19 10 11 9 10 22 24 23 21
The Output Data Set 2 _NAME_ COL1 COL2 COL3 COL4 COL5 COL6 COL7 COL8 Tester1 22 15 17 20 14 15 10 22 Tester2 25 19 19 19 15 17 11 24 Tester3 21 18 19 16 13 18 9 23 Tester4 21 17 19 19 13 19 10 21
Input Data Set 1 L o L W L W L W L W c e e e e e e e e a n i n i n i n i t D g g g g g g g g i a t h t h t h t h o t h t h t h t h t n e 1 1 2 2 3 3 4 4 Cole Pond 02JUN95 31 0.25 32 0.30 32 0.25 33 0.30 Cole Pond 03JUL95 33 0.32 34 0.41 37 0.48 32 0.28 Cole Pond 04AUG95 29 0.23 30 0.25 34 0.47 32 0.30 Eagle Lake 02JUN95 32 0.35 32 0.25 33 0.30 . . Eagle Lake 03JUL95 30 0.20 36 0.45 . . . . Eagle Lake 04AUG95 33 0.30 33 0.28 34 0.42 . .
Fish Length Data for Each Location and Date 2 Location Date _NAME_ Measurement Cole Pond 02JUN95 Length1 31 Cole Pond 02JUN95 Length2 32 Cole Pond 02JUN95 Length3 32 Cole Pond 02JUN95 Length4 33 Cole Pond 03JUL95 Length1 33 Cole Pond 03JUL95 Length2 34 Cole Pond 03JUL95 Length3 37 Cole Pond 03JUL95 Length4 32 Cole Pond 04AUG95 Length1 29 Cole Pond 04AUG95 Length2 30 Cole Pond 04AUG95 Length3 34 Cole Pond 04AUG95 Length4 32 Eagle Lake 02JUN95 Length1 32 Eagle Lake 02JUN95 Length2 32 Eagle Lake 02JUN95 Length3 33 Eagle Lake 02JUN95 Length4 . Eagle Lake 03JUL95 Length1 30 Eagle Lake 03JUL95 Length2 36 Eagle Lake 03JUL95 Length3 . Eagle Lake 03JUL95 Length4 . Eagle Lake 04AUG95 Length1 33 Eagle Lake 04AUG95 Length2 33 Eagle Lake 04AUG95 Length3 34 Eagle Lake 04AUG95 Length4 .