REGIONX
This chapter describes the new REGIONX keyword on the JOB and EXEC JCL statements. It also describes the differences and similarities between the REGIONX and REGION keywords.
This chapter includes the following topics:
2.1 REGIONX overview
To run their jobs and applications in controlled environments, users want more control over their below-the-line and above-the-line storage requests. Although the old REGION specification can be used to control memory usage, users cannot specify values for below- and above-the-line storage. Because REGION uses its own rules for defining below- and above-the-line values, a user can have more below-the-line storage than they want and less above-the-line storage than they need.
The new REGIONX JCL keyword supports two storage specifications and with which the user can explicitly specify values for their below-the-line storage and above-the-line storage needs. This specification allows an installation to reduce the amount of below-the-line storage that must be available to process jobs.
2.2 Use of REGIONX
You can code the REGIONX keyword on JOB and EXEC JCL statements, but it is mutually exclusive with the REGION keyword. Therefore, if REGIONX is coded in your JOB card, none of the JOB steps can have REGION set, and vice versa.
 
Note: Although you can have REGION and REGIONX in different steps of your JOB, we suggest you that you avoid this configuration if you do not code it in the JOB card because updates to your JCL can cause the mutually exclusive JCL error.
To define the amount of required storage, you can code below-the-line, above-the-line, or both. Table 2-1 lists possible REGIONX configurations.
Table 2-1 Possible REGIONX configurations
REGIONX configuration
Storage allocation
REGIONX=
Both values default.
REGIONX=1M
1 M storage below-the-line allocation; above-the-line defaults.
REGIONX=(1M)
1 M storage below-the-line allocation; above-the-line defaults.
REGIONX=(,60M)
Storage below-the-line default; 60 M storage above-the-line allocation.
REGIONX=(5M,1G)
5 M storage below-the-line allocation; 1 G storage above-the-line allocation.
You can code up to five numeric digits and a unit specification for each allocation. K and M are allowed for below-the-line storage, and K, M, and G are allowed for above-the-line storage. In the case of REGIONX on an EXEC statement, either or both of these values can be defaulted to the REGIONX values on the JOB statement if it was specified.
Also, coding REGIONX in your EXEC JCL statement causes it to override any REGIONX values that are defined in the JOB statement. This configuration allows storage requirements to be tailored to a particular job step while allowing the JOB statement specification to act as a default when REGIONX= is not specified on an EXEC statement.
The Example 2-1 shows a sample JCL with REGIONX coded on JOB and EXEC statements. STEP2 requests 4 M of storage below-the-line, which overrides the JOB default of 2 M.
Example 2-1 REGIONX override
//JOBD JOB TIME=NOLIMIT,MSGCLASS=A,CLASS=A,NOTIFY=&SYSUID,
// REGIONX=2M
//STEP1 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=A
//DASD DD UNIT=3390,VOL=(PRIVATE,SER=BH5ST5),DISP=OLD
//TAPE DD UNIT=(VT3590),
// LABEL=(1,SL),DISP=(NEW,CATLG),DSNAME=KWRES08.DUMP.BH5ST5
//SYSIN DD *
DUMP INDDNAME(DASD) OUTDDNAME(TAPE)
//STEP2 EXEC PGM=ADRDSSU,REGIONX=4M
//SYSPRINT DD SYSOUT=A
//DASD DD UNIT=3390,VOL=(PRIVATE,SER=BH5ST6),DISP=OLD
//TAPE DD UNIT=(VT3590),
// LABEL=(1,SL),DISP=(NEW,CATLG),DSNAME=KWRES08.DUMP.BH5ST6
//SYSIN DD *
DUMP INDDNAME(DASD) OUTDDNAME(TAPE)
The REGIONX keyword can be used in JOBs and STEPs, including JOBs and procedures that are started by the START command. In these cases, the following scenarios are possible:
For a started job, a REGION or REGIONX specification on the START command can replace a REGION or REGIONX specification on the JOB statement.
For a started procedure, a REGION or REGIONX specification on the START command can replace a REGION specification on the JOB statement that is generated internally by START command processing.
2.2.1 New IEFUSI example
A new sample SMF Step Initiation Exit routine is available on SYS1.PARMLIB to assist customers in configuring their exits to handle REGION and REGIONX keyword.
Customers must rename it to IEFUSI, then customize, assemble, link, and place it into LPALIB so that it can be used.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.24.106