Previous Page | Next Page

The TRANSPOSE Procedure

Syntax: TRANSPOSE Procedure


Tip: Does not support the Output Delivery System
Tip: You can use the ATTRIB, FORMAT, LABEL, and WHERE statements. See Statements with the Same Function in Multiple Procedures for details. You can also use any global statements. See Global Statements for a list.
Table of Contents: The TRANSPOSE Procedure

PROC TRANSPOSE <DATA=input-data-set> <DELIMITER=delimiter> <LABEL=label> <LET>
<NAME=name> <OUT=output-data-set> <PREFIX=prefix> <SUFFIX=suffix>;
BY <DESCENDING> variable-1
<...<DESCENDING> variable-n>
<NOTSORTED>;
COPY variable(s);
ID variable;
IDLABEL variable;
VAR variable(s);

Task Statement
Transpose each BY group BY
Copy variables directly without transposing them COPY
Specify a variable whose values name the transposed variables ID
Create labels for the transposed variables IDLABEL
List the variables to transpose VAR

Previous Page | Next Page | Top of Page