Define different space allocations for reload output areas


This technique can also be used on a CHANGE or INITIALIZE command.

JCL to define different space allocations for reload output areas

01 //PFP EXEC PGM=PFPMAIN,REGION=0M
02 //STEPLIB   DD DISP=SHR,DSN=BMC.PFP.LOAD,
03 //          DD DISP=SHR,DSN=IMSVS.RESLIB
04 //          DD DISP=SHR,DSN=IMSVS.DFSMDA
05 //IMSACB    DD DISP=SHR,DSN=IMSVS.ACBLIB  ---> IMSACB DD is not required in a managed ACB environment instead the active directory is used to refer the current control blocks.
07 //IAREA001  DD DISP=SHR,DSN=PFP.PFPSAMP1.UNLOAD
08 //IAREA002  DD DISP=SHR,DSN=PFP.PFPSAMP2 .UNLOAD
09 //PFPSYSIN  DD *
10   RELOAD DBD=PFPSAMP,IAREA=(PFPSAMP1,PFPSAMP2),
11       OAREA=(PFPSAMP1,PFPSAMP2)
12     
ALLOCATE OAREA=PFPSAMP1,
13       
ACTUATE=(DELETE,EROPT=IGNORE),14         SPACE=(CYL,200),VOLSER=(vvvvvv)
15     ALLOCATE OAREA=PFPSAMP2,
16       ACTUATE=(DELETE,EROPT=IGNORE),
17         SPACE=(CYL,300),VOLSER=(vvvvvv)
 /*


Line no.

Comments

01-04

EXEC and STEPLIB DD statements for Fast Path/EP offline execution.

06

The DBD from the IMSACB DD statement is used for output areas.

07-08

Input area data sets.

09

PFPSYSIN DD for Fast Path/EP control statements.

10

Defines the DEDB name to be reloaded. IAREA specifies the unloaded areas to be read. These unload files are defined in the IAREAxxx DD statements.

11

OAREA specifies the areas to be reloaded. The two areas are dynamically allocated from their dynamic allocation members in the IMSVS.DFSMDA data set in the STEPLIB concatenation.

12

Area PFPSAMP1 is allocated. The OAREA keyword is required to identify the area name.

15

Area PFPSAMP2 is allocated. The OAREA keyword is required to identify the area name.

12-13

15-16

The DELETE parameter that is specified on the ACTUATE keyword will cause the current VSAM cluster to be deleted. If the VSAM cluster did not previously exist, the error condition would be bypassed by the IGNORE option that is specified on the EROPT parameter.

14

17

The new VSAM clusters (one for each output area) will be defined according to the unique attributes that are specified for each area by the SPACE and VOLSER keywords.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*