The %CSTUTILMODIFYCOLUMNATTRIBUTE
macro modifies the attributes of a column.
In this example, the
label attribute is modified for column comment2 (which was added in
the previous example). After running the macro, the label (_cstAttr
parameter) for comment2 is updated to the value specified in the _cstAttrValue
parameter.
*******************************
* Modify a column attribute *
*******************************;
%cstutilmodifycolumnattribute(
_cstStd=CDISC-SDTM,
_cstStdVer=3.1.3,
_cstDS=newstudy.source_values,
_cstColumn=comment2,
_cstAttr=label,
_cstAttrValue=New label for comment2,
_cstTestMode=n);