Browsing for a log block by time stamp

System logger generates a time stamp in both local and Coordinated universal time (UTC) for each log block in the log stream. The time stamp is returned in the TIMESTAMP output field when the block is written to the log stream using IXGWRITE. Note that the local time stamp is the local time of the system where the IXGWRITE was issued.

You can use either the local or UTC time stamp on the SEARCH keyword to search for a system logger generated time stamp. You can specify the SEARCH keyword on the following IXGBRWSE requests:

When you use a time stamp as a search criteria, IXGBRWSE searches in the oldest-to-youngest direction, searching for a log block with a matching time stamp. If no match is found, IXGBRWSE reads the next latest (younger) time stamp. When you search by time stamp, the search always starts with the oldest log block in the log stream. Searches by time are not sensitive to the current browse cursor position.

See Figure 1 for an example.

If the time stamp specified is older than any time stamp in the log stream, then the oldest time stamp is returned.

If the time stamp specified is younger than any existing time stamps, the request is rejected and the caller receives a return code of X'08' and a reason code of X'0804'.
Figure 1. Searching for a Log Block by Time

ieaa6sea

Given the example log stream in Figure 1, system logger would do the following: