Modifying a Column Attribute in a Data Set

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);
The following display shows the modified column:
Modified Column
modified column
The following display shows the modified work._cstresults data set:
Modified work._cstresults Data Set
modified work._cstresults data set
The following display shows the updated transaction log data set:
Updated Transaction Log Data Set
updated transaction log data set