Loading...
Searching...
No Matches
mpe_getlabels.test.sas File Reference

Testing mpe_getlabels macro. More...

Go to the source code of this file.

Detailed Description

Verifies that the output dataset combines:

  • NAME from source
  • LABEL / MEMLABEL from tgt_ds
  • DD_SHORTDESC / DD_LONGDESC from MPE_DATADICTIONARY where DD_SOURCE contains the LIB.DSN reference and DD_TYPE='COLUMN'.

Scenarios covered:

  1. source is a two-part LIB.DSN - labels and DD entries are joined directly.
  2. source is a WORK subset without tgt_ds - DD entries do not match.
  3. source is a WORK subset with tgt_ds set to the underlying LIB.DSN - labels come from the target and DD entries match.
  4. source is a WORK subset that contains only a subset of the target columns - the output contains only those columns while labels still come from the target.

SAS Macros

Author
4GL Apps Ltd

Definition in file mpe_getlabels.test.sas.