Using the WRITELOG Intrinsic [ User Logging Programmer's Guide ] MPE/iX 5.0 Documentation
User Logging Programmer's Guide
Using the WRITELOG Intrinsic
After the logfile is opened, the data can be written to the logfile with
the WRITELOG intrinsic. Data will be passed in the WRITELOG intrinsic
call and User Logging will add 9 words of information to the beginning of
each record. The 9 words of information describe which process recorded
the data, when it was recorded, which User Logging intrinsic was used to
record it, and a checksum for validity checking. The data supplied by
the user should include information about the action being recorded, such
as:
* What was the purpose of the transaction
* What operation was done
* Which file was modified
* Which record in the file was modified
* What did the data in the record look like after the action
Enough information must be included to allow the user to recreate the
action from the log record if recovery is necessary.
MPE/iX 5.0 Documentation