Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2020-07-02 18:44:31
Size: 608
Comment:
Revision 4 as of 2023-03-14 01:55:17
Size: 684
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 26: Line 39:
== Exporting Metadata == == Value Labels ==
Line 28: Line 41:
The most basic way to inspect metadata is with `proc contents`.

{{{
proc contents data=LIBREF.TABLE;
run;
}}}
See [[SAS/Format|PROC FORMAT]].

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.


Value Labels

See PROC FORMAT.


CategoryRicottone

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