To track changes and
additions to the SAS Clinical Standards Toolkit, all metadata management
macros write one or more transaction records to a transaction log
data set.
Note: Transaction records are not
written when a macro is run in test mode.
Here are the columns
that are written to the transaction log data set:
Columns Written to the Transaction Log Data Set
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Date/time of transaction
(ISO8601)
|
|
|
|
|
|
|
|
|
|
|
|
Transaction type
ADD|DELETE|UPDATE
|
|
|
|
Transaction entity DATASET|COLUMN|RECORD
|
|
|
Here are the values
for cstactiontype:
-
ADD: An entity was added.
-
DELETE: An entity was deleted.
-
UPDATE: An entity was modified.
Here are the values
for cstentity:
-
DATASET: A SAS data set was acted
on.
-
COLUMN: A SAS column was acted
on.
-
RECORD: A SAS data set record was
acted on.
The transaction log
data set is stored in
global standards library directory/logs
as
transactionlog.sas7bdat. Two support macros (cstutilgetdslock and
cstutillogevent) interact with the transaction log data set to determine
whether the data set is locked (by another SAS process or by another
user) and to control writing data to the data set.