Set checkpoint records (CHECKPT) on z/OS
We can use the CHECKPT function of CSQJU003 to add or delete a record in the BSDS checkpoint queue.
Use the STARTRBA and ENDRBA keywords to add a record, or the STARTRBA and CANCEL keywords to delete a record.
Attention: This can override IBM MQ efforts to maintain data in a consistent state. Only use this function when implementing the disaster recovery process described in Recovering a single queue manager at an alternative site and Recovering a queue sharing group at the alternative site, or under the guidance of IBM service.CHECKPT
Keywords and parameters
- STARTRBA= startrba
- Indicates the start checkpoint log record.
startrba is a hexadecimal number of up to 16 digits. If we use fewer than 16 digits, leading zeros are added. The RBA can be obtained from messages or by printing the log map.
A value higher than FFFFFFFFFFFF cannot be specified for a version 1 format BSDS.
- ENDRBA= endrba
- Indicates the end checkpoint log record corresponding to the start checkpoint record.
endrba is a hexadecimal number of up to 16 digits. If we use fewer than 16 digits, leading zeros are added. The RBA can be obtained from messages or by printing the log map.
A value higher than FFFFFFFFFFFF cannot be specified for a version 1 format BSDS.
- TIME= time
- Gives the time the start checkpoint record was written. The time stamp format (with valid values in parentheses) is yyyydddhhmmsst, where:
- yyyy
- Indicates the year (1993 through 2099)
- ddd
- Indicates the day of the year (1 through 365; 366 in leap years)
- hh
- Indicates the hour (zero through 23)
- mm
- Indicates the minutes (zero through 59)
- ss
- Indicates the seconds (zero through 59)
- t
- Indicates tenths of a second
If fewer than 14 digits are specified for the TIME parameter, trailing zeros are added.
- CANCEL
- Deletes the checkpoint queue record containing a starting RBA that matches the RBA specified by STARTRBA.