Identifying Observations
Using the ID Statement
General form, ID statement:
ID variable(s);
where variable(s) specifies
one or more variables to print instead of the observation number at
the beginning of each row of the report. |
Example
proc print data=sales.reps; id ...
Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.