PROC DATASETS library=<libref>;
modify <dataset>;
index create <variable>;
quit;
示例:
PROC DATASETS library=work;
modify class;
index create studentID ;
index create firstname;
index create IDNAME=(studentID firstname);
quit;
modify <dataset>;
index create <variable>;
quit;
示例:
PROC DATASETS library=work;
modify class;
index create studentID ;
index create firstname;
index create IDNAME=(studentID firstname);
quit;