txlog Command

The txlog BASIC program invokes a menu for administration of the transaction logging subsystem.

When active, transaction logging logs all updates to files which have been marked for participation in logging. This involves changing the D-pointer to the file to dl. This can also be indicated when creating the file by using the l option. Logging may go directly to magnetic media, or held in a file until the media can be attached.

Logging, or enqueueing, occurs constantly in files that are marked as participants in transaction logging by having a dl designated in the D-pointer (attribute 1). Dequeueing occurs when transactions are being dumped to magnetic media.

NOTE

The decision to log or not to log a D-pointer is based on the flags in the D-pointer itself, not those of the D-pointer of the file in which it resides. In general, updates pass through the following logic to decide whether or not the update should be logged.

Note that these rules are only a guideline since there are certain conditions under which the system may internally override the rules.

  1. If global logging is off, then do not log the update, else go to the next step.

  2. If local logging is off, then do not log the update, else go to the next step.

  3. If the dictionary code contains the X or Y option, then do not log the update, else go to the next step.

  4. If the dictionary code contains the T option, then do not log the update, else go to the next step.

  5. If the item being updated is not a D-pointer, then go to step 7.

  6. If the item being updated is a D-pointer and contains the L option, then log the update, else go to step 8.

  7. If the dictionary code contains the L option, then log the update, else go to the next step.

  8. If logging all files, then log the update, else do not log the update.

See Also

create-file Command

d/code

log-msg Command

set-dptr Command

startlog Command

stoplog Command

tape-socket Command

tlog-restore Command

Linking to the Transaction Logger Subsystem

txlog-status Command

update-logging Command