Multiple choice technology mainframe

Where can program checkpoints be stored for use in a restart

  1. CHCKPOINT DD statement

  2. SYSCHK DD statement

  3. CHKOUT DD statement

  4. CHECK or DD statement

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In JCL, program checkpoints are stored using the SYSCHK DD statement. This allows checkpoints to be saved and later used for job restart in case of failure. The SYSCHK dataset contains the checkpoint data needed to resume processing from the last checkpoint.

AI explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) CHCKPOINT DD statement - This option is incorrect because the CHCKPOINT DD statement is not typically used to store program checkpoints for use in a restart. The CHCKPOINT DD statement is used to define a checkpoint dataset for use with the IBM Debug Tool for z/OS.

Option B) SYSCHK DD statement - This option is correct because the SYSCHK DD statement is used to specify the dataset where program checkpoints can be stored for use in a restart. The program can write its checkpoints to this dataset, and then read them during a restart to resume execution from the last checkpoint.

Option C) CHKOUT DD statement - This option is incorrect because the CHKOUT DD statement is not typically used to store program checkpoints for use in a restart. The CHKOUT DD statement is used to define an output dataset for use with the IBM Debug Tool for z/OS.

Option D) CHECK or DD statement - This option is incorrect because there is no known statement called CHECK or DD statement that is used to store program checkpoints for use in a restart.

The correct answer is B) SYSCHK DD statement. This option is correct because it specifies the dataset where program checkpoints can be stored for use in a restart.