1) //CKPTPARM DD * RMYPX555,FORCEALL=Y,CKPTABND=00002,PGMNAME=&PGM,PGMOCC=TEST The above statetment in a JCL

  1. takes a checkpoint after two records

  2. takes a check point every 2 seconds

  3. abends before taking the second check point

  4. takes a check point every 2 minutes


Correct Option: C

AI Explanation

To answer this question, let's analyze the provided statement in the JCL:

//CKPTPARM DD * RMYPX555,FORCEALL=Y,CKPTABND=00002,PGMNAME=&PGM,PGMOCC=TEST

The "CKPTPARM" statement is used to specify checkpoint parameters for a program. The specific parameter being used in this case is "CKPTABND=00002".

Option A) takes a checkpoint after two records This option is incorrect because the "CKPTABND" parameter does not specify a record count. Instead, it specifies a checkpoint boundary value.

Option B) takes a checkpoint every 2 seconds This option is incorrect because the "CKPTABND" parameter does not specify a time interval. Instead, it specifies a checkpoint boundary value.

Option C) abends before taking the second checkpoint This option is correct because the "CKPTABND=00002" parameter specifies that the program should abend (terminate with an error) before taking the second checkpoint. The value "00002" indicates that the program should abend after reaching the second checkpoint boundary.

Option D) takes a checkpoint every 2 minutes This option is incorrect because the "CKPTABND" parameter does not specify a time interval. Instead, it specifies a checkpoint boundary value.

Therefore, the correct answer is C) abends before taking the second checkpoint.

Find more quizzes: