JCL Time Parameter

JCL PRIORITY Parameter JCL REGION Parameter

Advertisements


TIME specifies the maximum CPU usage time allowed for the JOB 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 to execute the particular step.

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

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

The default time in JOB, if TIME parameter not specified 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 with JOB card:

	//JOB-NAME JOB (ACCT-INFO),’PROGR-NAME’, CLASS=class-name, MSGCLASS=msg-class, 
	//    MSGLEVEL (M1, M2), PRTY=priority-number, TIME=( Minutes, Seconds), keyword-parameters
NOLIMIT or 1440:

NOLIMIT or 1440 Minutes values are almost same in functionality.

Both assigns the unlimited time for the JOB execution

If NOLIMIT or 1440 Minutes at JOB card level, all TIME parameters specified at step level will be overwritten.

MAXIMUM:

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

If MAXIMUM at JOB card level, all TIME parameters specified at step level will be overwritten.

Minutes:

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

If minutes at JOB card level, all TIME parameters specified at step level will be overwritten.

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

Seconds:

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

Seconds value in between 0 to 59 seconds.

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

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


JCL PRIORITY Parameter JCL REGION Parameter

Advertisements