Use UNLOAD and RELOAD to increase area size and space parameters


The UOW, ROOT and CI size values are increased for selected areas.

Changes are made in the DBD to increase the CI, UOW and ROOT values for area PFPSAMP1, and to increase the CI size for area PFPSAMP2.

Note

The new ACB with the DBD changes must be genned before executing the UNLOAD control statement.

JCL to use UNLOAD and RELOAD to increase area size and space parameters

01 //PFPUNLD  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
06 //NEWACB   DD DISP=SHR,DSN=IMSVS.ACBLIB.NEW
07 //PFPSAMP1 DD DISP=OLD,DSN=BMCPFP.PFPSAMP.PFPSAMP1
08 //PFPSAMP2 DD DISP=OLD,DSN=BMCPFP.PFPSAMP.PFPSAMP2
09 //PFPSAMP3 DD DISP=OLD,DSN=BMCPFP.PFPSAMP.PFPSAMP3
10 //OAREA001 DD DSN=PFP.PFPSAMP1.UNLOAD,
11 //            DISP=(,CATLG,DELETE),UNIT=DASD,SPACE=(CYL,(65,5),RLSE)
12 //OAREA002 DD DSN=PFP.PFPSAMP2.UNLOAD,
13 //            DISP=(,CATLG,DELETE),UNIT=DASD,SPACE=(CYL,(65,5),RLSE)
14 //OAREA003 DD DSN=PFP.PFPSAMP3.UNLOAD,
15 //            DISP=(,CATLG,DELETE),UNIT=DASD,SPACE=(CYL,(65,5),RLSE)
16 //PFPSYSIN DD *
17   UNLOAD DBD=PFPSAMP,
SDEP_PROCESS=LOGICAL,
18       IAREA=
19             (PFPSAMP1,
20              PFPSAMP2,
21              PFPSAMP3),
22       OAREA=
23             (PFPSAMP1,
24              PFPSAMP2,
25              PFPSAMP3)
26 /*
27 //*******************************************************************
28 //*
IDCAMS  <--- area IDCAMS delete/define
29 //*******************************************************************
30 //PFPRELD  EXEC PGM=PFPMAIN,REGION=0M
31 //STEPLIB  DD DISP=SHR,DSN=BMC.PFP.LOAD
32 //         DD DISP=SHR,DSN=IMSVS.RESLIB
33 //         DD DISP=SHR,DSN=IMSVS.DFSMDA
34 //IMSACB   DD DISP=SHR,DSN=IMSVS.ACBLIB.NEW
35 //IAREA001 DD DISP=OLD,DSN=PFP.PFPSAMP1.UNLOAD
36 //IAREA002 DD DISP=OLD,DSN=PFP.PFPSAMP2.UNLOAD
37 //IAREA003 DD DISP=OLD,DSN=PFP.PFPSAMP3.UNLOAD
38 //PFPSAMP1 DD DISP=OLD,DSN=BMCPFP.PFPSAMP.PFPSAMP1
39 //PFPSAMP2 DD DISP=OLD,DSN=BMCPFP.PFPSAMP.PFPSAMP2
40 //PFPSAMP3 DD DISP=OLD,DSN=BMCPFP.PFPSAMP.PFPSAMP3
41 //PFPSYSIN DD *
42   RELOAD DBD=PFPSAMP,
SORT=AUTO,
43       IAREA=(PFPSAMP1,PFPSAMP2,PFPSAMP3),
44       OAREA=(PFPSAMP1,PFPSAMP2,PFPSAMP3)
45    
IC DSNAME='PFP.ICOPY.&DBD.&AREA(+1)',
46       UNIT=SYSDA,DISP=(NEW,CATLG),
47         SPACE=(CYL,150,5,RLSE)
 /*

Line no.

Comments

01-04

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

05

07-09

The DBD from the IMSACB DD statement is used to define the input areas.

06

10-15

The DBD from the NEWACB DD statement is used to define the output unload files.

07-09

Define input areas to be unloaded.

10-15

The unloaded data is written to the specified file.

16

PFPSYSIN DD for Fast Path/EP control statements.

17

Defines DEDB name for UNLOAD processing. Because the DEDB contains SDEPs, SDEP processing must be specified.

18

07-09

IAREA specifies the input areas for the PFPSAMPx DD statements.

19

07

Area PFPSAMP1 is input using the old DBD size parameters:

AREA DD1=PFPSAMP1,SIZE=4096, UOW=(30,5),ROOT=(300,100)

20

08

Area PFPSAMP2 is input using the old DBD size parameters:

AREA DD1=PFPSAMP2,SIZE=4096

21

09

Area PFPSAMP3 is input. No changes are made to area PFPSAMP3. Because the DEDB uses a generalized randomizer, however, all areas must be processed.

22

10-15

OAREA requests the areas to be written to the unload files. These unload files are defined by the OAREAxxx DD statements.

23

10-11

Area PFPSAMP1 is output using the new DBD parameters. The CI size is changed from 4096 to 8192. The UOW, RAA and IOVF are increased:

AREA DD1=PFPSAMP1,SIZE=8192,UOW=(40,10),ROOT(350,100)

This change also increases the DASD space required for new area data set allocation.

24

12-13

Area PFPSAMP2 is output using the new DBD parameters. The CI size is changed from 4096 to 8192:

AREA DD1=PFPSAMP2,SIZE=8192

This change also increases the DASD space required for new area data set allocation.

25

14-15

Area PFPSAMP3 is output without being changed.

26

End of UNLOAD control card input.

27-29

Comment to indicate that the IDCAMS delete/define for the new areas to be reloaded must be performed, with increased space for areas PFPSAMP1 and PFPSAMP2.

30-33

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

34

The DBD from the IMSACB DD statement is used to define the areas being reloaded.

35-37

Identify input files from UNLOAD.

38-40

Identify areas to be reloaded.

41

PFPSYSIN DD for Fast Path/EP control statements.

42

Defines DEDB name to be reloaded. SORT=AUTO is specified to determine if an internal sort needs to be performed prior to reloading the areas. If performed, the internal sort places the records into load sequence based on RAP. If you have a license for the BMC Fast Path Analyzer/EP product, quick (checksum) pointer validation is performed on reloaded areas by default.

43

35-37

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

44

38-40

OAREA specifies the areas to be reloaded. These areas are defined in the PFPSAMPx DD statements.

45-47

An image copy is taken of the reloaded areas. A new GDG image copy data set is cataloged to DASD.

 

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