Set Journal Markers Using ^JRNMARK
Set Journal Markers Using ^JRNMARK
To set a journal marker in a journal file, use the following routine:
SET rc=$$ADD^JRNMARK(id,text)
Argument | Description |
---|---|
id | Marker ID (for example, -1 for backup) |
text | Marker text of any string up to 256 characters (for example, “timestamp” for backup) |
rc | Journal location of the marker (journal offset and journal file name, delimited by a comma) or, if the operation failed, a negative error code followed by a comma and a message describing the error. Note that a journal offset must be a positive number. |