Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2023-01-14 05:14:14
Size: 646
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 1: Line 1:
## page was renamed from SASMetadata
Line 10: 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 27: Line 39:
== Exporting Metadata == == Value Labels ==
Line 29: 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)