TMF Application Programmer's Guide (G06.26+)

TMF ARLIB2 Audit-Reading Procedures
HP NonStop TMF Application Programmer’s Guide522419-005
5-26
Record Formats
NETWORK-COMMIT (18)
This record is generated whenever a network transaction commits, and it only appears
in the master audit trail on the parent node. The record indicates that the parent node
has released its locks while simultaneously delivering commit instructions to all child
nodes. A subsequent commit record (FORGOTTEN) is then written after replies to the
commit instructions have been received from all child nodes.
Variable-length fields: child node list
NETWORK-PREPARED (6)
This record is written into the master audit trail by every child (non-home) node
participating in a network transaction. The record indicates that this node and all of its
children, if any, are prepared to commit the transaction (child nodes generate a
network-prepared record at the end of Phase 1 of the two-phase commit). Network-
prepared records are sometimes referred to as “non-home flush records.”
Variable-length fields: child node list
TMF SHUTDOWN (7)
This record signifies the successful shutdown of TMF. TMFSHUTDOWN records can
only occur in the master audit trail.
Variable-length fields: none
02 NETWORKCOMMITREC redefines BODY.
04 TRANSID type binary 64,0.
04 HOMENODE type binary 32,0. ! system number
04 PARENTNODE type binary 32,0. ! system number
04 NUMCHILDREN type binary 16,0. ! # of child nodes
04 FILLER type x(6)
02 PREPAREDREC redefines BODY.
04 TRANSID type binary 64,0.
04 HOMENODE type binary 32,0. ! system number
04 PARENTNODE type binary 32,0 ! system number
04 NUMCHILDREN type binary 16,0. ! # of child nodes
04 FILLER type x(6)
02 TMFSHUTDOWNREC redefines BODY.
04 FILLER PIC X(2).
! tmf shutdown record contains the header info only