Procedure features: |
PROC TRANSPOSE statement option:
|
IDLABEL statement |
|
Data set: |
SCORE
|
This example uses the values of the variable in the
IDLABEL statement
to label transposed variables.
options nodate pageno=1 linesize=80 pagesize=40;
![Note about code](../common/images/snbut.gif) | proc transpose data=score out=idlabel name=Test
prefix=sn;
id studentid;
|
![Note about code](../common/images/snbut.gif) | idlabel student;
run;
|
![Note about code](../common/images/snbut.gif) | proc print data=idlabel label noobs;
title 'Student Test Scores';
run; |
The output data set, IDLABEL
|
|
![[Listing Output]](../common/images/outlist.gif) |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.