Loading...
Searching...
No Matches
mpe_validatecol.sas File Reference

Validates a column of values, including the Data Controller format-catalog form of a libds reference. More...

Go to the source code of this file.

Detailed Description

Wrapper around mp_validatecol() that adds the Data Controller convention of addressing a format catalog as LIBREF.CATALOGNAME-FC to the LIBDS rule.

The -FC suffix is matched exactly and the remainder is validated as a strict LIBREF.DATASET, so the whole value is covered by the validation - a bare scan on the dash would leave anything after it unvalidated. The input column itself is never modified, so a caller that needs the catalog reference downstream (to match MPE_SECURITY, for instance) still receives it.

Parameters
[in]incolInput column (a data step variable)
[in]ruleValidation rule, as per mp_validatecol()
[out]outcol1 when the value is valid, else 0

SAS Macros

Version
9.2
Author
4GL Apps Ltd

Definition in file mpe_validatecol.sas.