Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
![]() Requesting Serially Reusable Resources z/OS DFSMSdfp Checkpoint/Restart SC23-6862-00 |
|
Explicit use of a serially reusable resource is requested when the user's program issues the ENQ or RESERVE macro instruction. If the program issues the ENQ or RESERVE macro and takes a checkpoint, it must issue the ENQ or RESERVE macro again whenever restart occurs at the checkpoint. Figure 1 shows a program that requests a serially reusable resource by issuing an ENQ before establishing a checkpoint. After the checkpoint, the program tests for a restart. If a restart has occurred, the program requests the same resource again. The program requests the resource again because the job step terminated, lost control of the resource, and then restarted from the checkpoint. Figure 1. Requesting a Resource after Restart
Some serially reusable resources are requested implicitly by issuing
data management macro instructions. These resources may be records
that you are processing or tracks on a direct access device. To ensure
correct processing, you must not establish checkpoints during
control of these resources:
![]() ![]() ![]() |
![]() |