22.5 Specifying a CDD History List Entry
When your BASIC program accesses CDD/Repository, you
have the option of entering a history list entry in the database.
The history list entry provides a history of users that access
CDD/Repository.
You create a history list entry by specifying the DCL com-
mand qualifier /AUDIT. For example:
$ BASIC/DEPENDENCY_DATA/AUDIT="History text goes here" EX1.BAS
Note that instead of typing the text directly on the command
line, you can also specify a file specification that contains the
history entry.
When you specify /AUDIT, a history list entry is created
for each compiled module entity that the compilation cre-
ates. In addition, the compilation will add a history list entry
to each data definition that your program extracts with the
%INCLUDE %FROM %CDD directive.
You can display history list information using the CDO utility.
For example:
CDO> SHOW GENERIC CDD$COMPILED_MODULE EXAMPLE1 /AUDIT
Definition of EXAMPLE1 (Type : CDD$COMPILED_MODULE)
| History entered by SMITH ([SMITH])
| using BASIC Vn.n
| to CREATE definition on 25-APR-1989 13:04:01.48
| Explanation:
| "History text goes here"