DD statements for the Freespace Reclaim function
DD statements of the FPA Freespace Reclaim function determine the input and output data sets and specify how to run the Freespace Reclaim function.
Subsections:
List of DD statements
The following table summarizes the DD statements for the Freespace Reclaim function.
DDNAME | Use | Format | Can be dynamically allocated? | Required or optional |
---|---|---|---|---|
JOBLIB or STEPLIB | Input | PDS | No | Required |
IMSACB, IMSACBA, or IMSACBB | Input | PDS | No | Required when IMSCATHLQ=*NO |
IMSDALIB | Input | PDS | No | Optional |
MODSTAT | Input | PS | Yes | Optional |
MODSTAT2 | Input | PS | Yes | Optional |
OLCSTAT | Input | PS | Yes | Optional |
index | Input and output | KSDS | Yes | Required when DFSMDA members for index databases are not used |
indexovrflw | Input and output | ESDS | Yes | Required when DFSMDA members for index databases are not used |
HFPSYSIN | Input | LRECL=80 | No | Required |
HFPCSITE | Input | PDS | Yes | Optional |
HFPPRINT | Output | SYSOUT | Yes | Optional |
HFPRPTS | Output | LRECL=133 | Yes | Optional |
HFPABEND | Output | LRECL=125 | Yes | Optional |
SYSPRINT | Output | LRECL=121 | Yes | Optional |
RECONn | Input and output | KSDS | Yes | Required when both of the following conditions are met:
|
Input DD statements
The following input DD statements are used for the Freespace Reclaim function.
- JOBLIB/STEPLIB DD
- This DD statement is a required DD statement that defines the following input data sets:
- The FPA load module library (required).
- The library that contains DFSMDA dynamic allocation members for the RECON data set. When DBRC=YES is specified and the RECONn DD statement is omitted, this DD statement is required.
- The library that contains a default site default member (HFPCSITE) to determine the data set name and the member of the site default table.
- The IMS load module library (required).
- The IMS Tools Base library (SHKTLOAD), if you specify the ITKBSRVR keyword.
- The IMS Tools Base library (SGLXLOAD), if you specify the IMSCATHLQ keyword.
- IMSACB DD
- This DD statement is an optional DD statement that defines the library that contains the DMB for the database. The IMSACB DD statements (IMSACB, IMSACBA, IMSACBB, MODSTAT, MODSTAT2, and OLCSTAT) can be used to identify the active ACB library. When both OLCSTAT or MODSTAT and MODSTAT2 are found, FPA checks the time stamp and determines the latest one.
- IMSACBA DD
- This DD statement is an optional DD statement that defines the library that contains the DMB for the database. This statement must be provided if MODSTAT and MODSTAT2, or the OLCSTAT DD statement is specified.
- IMSACBB DD
- This DD statement is an optional DD statement that defines the library that contains the DMB for the database. This statement must be provided if MODSTAT and MODSTAT2, or the OLCSTAT DD statement is specified.
- IMSDALIB DD
- This DD statement is an optional DD statement that defines the IMSDALIB data set. This DD statement is useful when the data set for dynamic allocation members is not APF-authorized.
- MODSTAT DD
- This DD statement is an optional DD statement that defines the MODSTAT data set. When this statement is specified, the IMSACBA and IMSACBB DD statements must be specified instead of the ACBLIB DD statement.
- MODSTAT2 DD
- This DD statement is an optional DD statement that defines the MODSTAT2 data set. When this statement is specified, the IMSACBA and IMSACBB DD statements must be specified instead of the ACBLIB DD statement.
- OLCSTAT DD
- This DD statement is an optional DD statement that defines the OLCSTAT data set. When this statement is specified, the IMSACBA and IMSACBB DD statements must be specified instead of the ACBLIB DD statement.
- HFPSYSIN DD
- This DD statement is a required DD statement that defines the input control statement that specifies the FPA functions.
- HFPCSITE DD
- This DD statement is an optional DD statement. The HFPCSITE DD statement can be used to define the data set name of the site default table. When the SITE_DSNAME keyword is specified in the HFPSYSIN DD statement, the HFPCSITE DD statement is allocated dynamically. HFPCSITE DD in the JCL is mutually exclusive with the SITE_DSNAME keyword in the HFPSYSIN DD statement. The data set attribute of HFPCSITE DD is PDS.
Output DD statements
The following output DD statements are used for the Freespace Reclaim function.
- HFPPRINT DD
- This DD statement is an optional DD statement that defines the processing log output data set. The data set contains the processing messages that are issued by FPA.
- HFPRPTS DD
- This DD statement is an optional DD statement that defines the report output
data set. The data set contains the reports that can be used to verify the process of the command.
The following DCB attributes of the file are set by the FPA main
task:
- RECFM=FBA
- LRECL=133
- BLKSIZE=1330
- HFPABEND DD
- This DD statement is an optional DD statement. It defines a snap dump output data set that is used for diagnostic purposes. This data set might be used when the FPA job ends abnormally. Do not code the DCB information in your JCL statement. The output data set must be a standard SYSOUT or a sequential data set.
- SYSPRINT DD
- This DD statement is an optional DD statement that defines the processing log output data set,
which contains the processing messages that are issued by the IMS system.
- Note on dynamic allocation:
- When this statement is not specified in the JCL statements, FPA dynamically allocates the data set by using SYSOUT=*.
Input/Output DD statements
The following input/output DD statements are used for the Freespace Reclaim function.
- index DD
- This DD statement is a required DD statement when DFSMDA members for index databases are not
used. This DD statement defines the VSAM KSDS data set to be processed.
The DD name must be the DD name of the secondary index database that is defined in the input ACB library (IMSACB DD). Multiple index DD statements can be specified for each secondary index database that is processed by the Freespace Reclaim function.
The data set that is used by FPA is determined by the following elements:- The name of the secondary index database member in the IMS DFSMDA library
- The index DD JCL statement
- indexovrflw DD
- This DD statement is a required DD statement when DFSMDA members for index databases are not
used. This DD statement defines the VSAM ESDS data set to be processed.
The DD name must be the DD name of the secondary index database that is defined in the input ACB library (IMSACB DD). Multiple indexovrflw DD statements can be specified for each secondary index database that is processed by the Freespace Reclaim function.
The data set that is used by FPA is determined by the following elements:- The name of the secondary index database member in the IMS DFSMDA library
- The indexovrflw DD JCL statement
- RECON1/RECON2/RECON3 DD
- These statements define the DBRC RECON data sets. These DD statements are required DD statements
when both of the following conditions are met:
- DBRC=YES is specified for the GLOBAL command
- DFSMDA members for RECONn data sets are not used