JCL Region Parameter

JCL TIME Parameter JCL TYPERUN Parameter

Advertisements


REGION parameter is used to specify the size of the virtual storage required to execute the JOB.

REGION parameter can be coded at JOB level and Step level.

If the REGION parameter coded at both JOB and Step level, JOB card overrides the Step level parameter.

Syntax:

	REGION = ValueM/ValueK 

Syntax with JOB card:

	//JOB-NAME JOB (ACCT-INFO),’PROGR-NAME’, CLASS=class-name, MSGCLASS=msg-class, 
	//             MSGLEVEL (M1, M2), PRTY=priority-number, TIME=10M, REGION = ValueM/ValueK, keyword-parameters

If the REGION parameter coded with 0M, then it allocates the maximum available storage to the JOB.

In other words, REGION=0M/0K specifies the system as REGION=NOLIMIT.

If the memory provided in the REGION parameter was not sufficient to execute the job then, the JOB abends with S422/S822.

ValueK:

ValueK used to specify the memory in Kilo bytes.

ValueK values are from 1 through 2096128 (2047 MB or 2 GB).

ValueK value can also provide in the multiples of 4.

ValueM:

ValueM used to specify the memory in Mega bytes.

ValueM values are from 1 through 2047 (2 GB).

ValueM value can also provide in the multiples of 4.

Either by using ValueK or ValueM, the maximum value can specify through JOB is 2GB.


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


JCL TIME Parameter JCL TYPERUN Parameter

Advertisements