Multiple choice technology programming languages

What parameter of the job statement is used to limit the CPU time consumed by the job?

  1. RUNTIME

  2. TIME

  3. LIMIT

  4. EXECMAX

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

The TIME parameter on the JOB or EXEC statement is used to specify the maximum amount of CPU time the job or step is allowed to consume. If the limit is exceeded, the job is terminated with a system abend (usually S322).

AI explanation

To answer this question, you need to understand the parameters used in a job statement to limit the CPU time consumed by a job.

Option A) RUNTIME - This option is incorrect because the RUNTIME parameter is used to specify the maximum elapsed time for a job, not the CPU time consumed by the job.

Option B) TIME - This option is correct because the TIME parameter is used to limit the CPU time consumed by the job. It specifies the maximum amount of CPU time that the job can use before it is terminated.

Option C) LIMIT - This option is incorrect because there is no parameter called LIMIT used to limit the CPU time consumed by a job.

Option D) EXECMAX - This option is incorrect because there is no parameter called EXECMAX used to limit the CPU time consumed by a job.

The correct answer is B) TIME. This option is correct because the TIME parameter is used to limit the CPU time consumed by the job. It specifies the maximum amount of CPU time that the job can use before it is terminated.