JCL EXEC TIME Parameter

JCL EXEC Statement JCL EXEC REGION Parameter

Advertisements


TIME specifies the maximum CPU usage time allowed for the EXEC to execute.

TIME parameter can be coded at the JOB level and step level too.

If TIME parameter coded at both JOB and Step level, it will take the minimum value from both to execute the particular step.

System will automatically cancel the complete JOB execution, if the execution time reaches to the time specified.

In other words, TIME parameter will provide the CPU kill time to OS.

If TIME parameter not specified, the default time in Step is 1440 min/24 Hours/1 day.

Default time in TIME parameter can vary based on the system setup.

Syntax:

	TIME = NOLIMIT/1440/MAXIMUM

(or)

TIME = (Minutes, Seconds)

Syntax:
	// Step-name EXEC PGM=program-name, TIME=( Minutes, Seconds)

NOLIMIT or 1440:

NOLIMIT or 1440 Minutes values are almost same in functionality.

Both assigns the unlimited time for the STEP execution

MAXIMUM:

If MAXIMUM specified in TIME parameter, it assigns 248.55 days (357912 minutes) time to step execution.

Minutes:

If minutes are specified in TIME parameter, it assigns 248.55 days (357912 minutes) time to step execution.

If ZERO specified in TIME, it may produce unpredictable results.

Seconds:

Seconds is used to specify the second’s that may used by step in addition to Minutes.

Seconds value in between 0 to 59 seconds.

If the time provided in step is not sufficient to execute, then step will fail with the abend code S322.


If any questions on the above, post your queries on Jcl Discussion forum


JCL EXEC Statement JCL EXEC REGION Parameter

Advertisements