Is there any way to research the sequence of lock/unlock request for a particular structure? I do not think this is captured in the audit, looking at the audit record types in "Record Type Mnemonics" in the "Enterprise Database Server UtilitiesOperations Guide".
By the way, is a more detailed explanation of those record types available anywhere else?
-------- Original Message --------Operations Guide".
Subject: How to research DMSII lock/unlock requests
From: Luke Numrych <l.nu...@gmail.com>
To:
Date: Thu Jun 24 2021 09:31:26 GMT-0700 (Pacific Daylight Time)
Is there any way to research the sequence of lock/unlock request for a particular structure? I do not think this is captured in the audit, looking at the audit record types in "Record Type Mnemonics" in the "Enterprise Database Server Utilities
Hi Paul - thanks for your reply.By the way, is a more detailed explanation of those record types available anywhere else?
Record lock and unlock requests are not audited. The purpose of audit
files is to restore the data base to a consistent state after a
transaction abort, a DMSII or system restart, or reloading one or more structures from backups. Locking does not participate in any of that.
By "Record Type Mnemonics" I assume you are referring to the table in
the section of that manual on PRINTAUDIT, "Selecting Records by Record Type". I don't know of a better reference. Most of the record types have
to do with internal DMSII structure manipulations that would not
normally be of interest at the application program level. The record
types you would normally be most interested in (especially for Standard
Data Sets) are:
BIO
BTR
CCD
DSC
DSD
DSM (note this has both before and after images)
ETR
LGRR
STRDC
You might want to take a look at the sections in the same manual on "Database Events Management" and "Logging Data Access". I've never used these, but it appears to you can monitor most DM verbs, including LOCK
and FREE. I don't see ENDTRANSACTION or ABORTTRANSACTION listed, though, noting that if your data base has INDEPENDENTTRANS set, all locked
records are implicitly freed when a transaction terminates. Transaction boundaries (BTR, ETR) are written to the audit trail, however, so you
may be able to merge those entries with the event log entries.
You didn't mention your purpose in researching lock/unlock requests. We might be able to give you better answers if you could describe what the problem is or what you're really trying to do.
Paul
As to "AUDITs", the term is actually "audit trail". Historically, to "maintain an audit trail" is to record all of the activities that apply changes to a record system. The term probably comes from accounting,
which has obsessed over maintaining reliable, verifiable records for centuries.
On Friday, July 9, 2021 at 7:05:31 AM UTC-7, Paul Kimpel wrote:sumlog (if the correct logging options are set), but that does not show what records were accessed.
As to "AUDITs", the term is actually "audit trail". Historically, to
"maintain an audit trail" is to record all of the activities that apply
changes to a record system. The term probably comes from accounting,
which has obsessed over maintaining reliable, verifiable records for
centuries.
Modern financial compliance auditing and security auditing also wants to know about access, not just change. There is a case for the DMSII audit files to be expanded to include LOCK and FIND verbs, too. Yes, the database open is recorded in the
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 491 |
Nodes: | 16 (2 / 14) |
Uptime: | 143:12:03 |
Calls: | 9,694 |
Calls today: | 4 |
Files: | 13,728 |
Messages: | 6,178,354 |