Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2020-07-02 18:44:31
Size: 608
Comment:
Revision 3 as of 2023-01-14 05:15:06
Size: 615
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
== Labels == == Examine Metadata ==

The most basic way to inspect metadata is with `proc contents`.

{{{
proc contents data=LIBREF.TABLE;
run;
}}}

----



== Variable Labels ==
Line 22: Line 35:
----



== Exporting Metadata ==

The most basic way to inspect metadata is with `proc contents`.

{{{
proc contents data=LIBREF.TABLE;
run;
}}}

SAS Metadata


Examine Metadata

The most basic way to inspect metadata is with proc contents.

proc contents data=LIBREF.TABLE;
run;


Variable Labels

Labels can be permanently applied to a data table through the label statement in a data step.

data LIBREF.TABLE;
  label VAR1="Label with up to 256 characters"
        VAR2="Multiple labels per statement";
run;

Note that proc print shows column names, not labels. To override this behavior, use the label option therein.


CategoryRicottone

SAS/Metadata (last edited 2023-03-14 01:55:17 by DominicRicottone)