The %CSTUTILUPDATEMETADATARECORDS
macro updates column values. Specific records can be retrieved using
the _cstDSIfClause parameter.
In this example, the
record in newstudy.source_values that matches the _cstDSIfClause parameter
(table='EG'
and value='QTC'
)
is modified. The LABEL column value (_cstColumn) is changed to QT
Interval (QTc)
.
*********************
* Update a record *
*********************;
%cstutilupdatemetadatarecords(
_cstStd=CDISC-SDTM,
_cstStdVer=3.1.3,
_cstDS=newstudy.source_values,
_cstDSIfClause=table='EG' and value='QTC',
_cstColumn=label,
_cstValue=QT Interval (QTc),
_cstTestMode=n);