DD statements for the Change function
DD statements of the FPA Change function determine the input and output data sets and specify how to run the Change function.
Subsections:
List of DD statements
The following table summarizes the DD statements for the Change 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 |
EXITLIB | Input | PDS | No | Optional |
IMSRESLB | Input | PDS | No | Optional |
OLDACB | Input | PDS | Yes | Optional |
OLDRESLB | Input | PDS | No | Optional |
IAREAnnn or IARnnnnn | Input | VSAM ESDS cluster | Yes | Required when IDSNMASK keyword is not specified |
addnname or areaname | Output | VSAM ESDS cluster or PS (Note) | Yes | Required under certain conditions (for details, see addnname/areaname DD) |
HFPSYSIN | Input | LRECL=80 | No | Required |
HFPAPARM | Input | LRECL=80 | No | Optional |
HFPAUOWC | Input | LRECL=80 | No | Required when HFPAHST2 DD is specified |
HFPCSITE | Input | PDS | Yes | Optional |
HFPPRINT | Output | SYSOUT | Yes | Optional |
HFPRPTS | Output | LRECL=133 | Yes | Optional |
HFPSPRT | Output | LRECL=133 | Yes | Optional |
HFPAHST | Output | DISP=MOD | No | Optional |
HFPAHST2 | Output | DISP=MOD | No | Required when HFPAUOWC DD is specified |
HFPARERG | Output | LRECL=80 | No | Optional |
HFPASNAP | Output | LRECL=133 | No | Required when CISNAP=YES |
HFPSEQER | Output | PS | No | Required when KEYSEQCHK=BYPASS or KEYSEQCHK=WARNING |
HFPTOTAL | Output | PS | No | Optional |
HFPABEND | Output | LRECL=125 | Yes | Optional |
RECONn | Input and output | KSDS | Yes | Required when both of the following
conditions are met:
|
ctttWKnn | Input and output | Yes | Optional | |
itttWKnn | Input and output | Yes | Optional | |
ctttSMSG | Output | LRECL=133 | Yes | Optional |
itttSMSG | Output | LRECL=133 | Yes | Optional |
DFSPRINT | Output | LRECL=122 | Yes | Optional |
ICEIN | Input | LRECL=80 | No | Optional |
ICEPRINT | Output | LRECL=133 | Yes | Optional |
ICERPRT | Output | LRECL=133 | No | Optional |
dataout1 | Output | PS | Yes | Optional |
dataout2 | Output | PS | Yes | Optional |
Note: If image copy
is used as an input data set.
|
Input DD statements
The following input DD statements are used for the Change function.
- JOBLIB/STEPLIB DD
- This DD statement is a required DD statement. This DD statement defines the input data sets as
follows:
- 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 user exit routine member that was specified for the EXITRTN= keyword, if EXITLIB DD statement is not specified.
- 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.
- The IMS HP Image Copy library, if you specify the ICOUT=YES option.
- The IMS Library Integrity Utilities library, if you want to activate Integrity Checker.
FPA must be run as an APF-authorized program. All of the data sets that are listed within the JOBLIB or the STEPLIB concatenation must also be APF-authorized. If you use DFSMDA members and the DFSMDA members are in a non-APF authorized library, you can specify the DFSMDA library on the IMSDALIB DD statement.
- 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.
- EXITLIB DD
- This DD statement is an optional DD statement. This statement defines the user exit routine
library. This DD statement is used when the IEXITRTN or OEXITRTN, or both keywords are specified for
the CHANGE command. When the EXITLIB DD statement is specified in the JCL statement, user exit
routines are loaded directly only from the EXITLIB DD statement. When the EXITLIB DD statement is
not specified in the JCL statement, the routines are loaded from the JOBLIB or the STEPLIB DD
statement.
All of the data sets that are listed within the EXITLIB concatenation must be APF-authorized.
- IMSRESLB DD
- This DD statement is an optional DD statement that defines the libraries that contain the randomizer routines and compression routines that are specified in the ACB member in the IMSACB DD statements. If the IMSRESLB DD statement is specified in the JCL statement, only the randomizer and compression routines are loaded directly from the IMSRESLB DD statement. If the IMSRESLB DD statement is not specified in the JCL statement, they are loaded from the JOBLIB or the STEPLIB DD statement.
- OLDACB DD
- This DD statement is an optional DD statement. This statement defines the library that contains
the original ACB library for the database. If this statement is specified, the CHANGE command is
processed in the non-REORG mode (restructure). However, if the ACB member in the IMSACB DD library
and the ACB member in the OLDACB DD library are the same, and the OLDRESLB DD statement is not
specified in the JCL statement, the CHANGE command is processed in the REORG mode. If you want to
reorganize the area data sets, do not specify this DD statement and do not allocate the data set
dynamically.
If you specify the IMSCATHLQ keyword, OLDACB DD statement is not used. The IMS directory is used instead of the ACB library.
- OLDRESLB DD
- This DD statement is an optional DD statement. This statement is effective when the OLDACB DD statement is specified in JCL statement or the IMSCATACB_OUTPUT keyword is specified. This statement defines the libraries that contain the randomizer routines and compression routines that are specified in the ACB member pointed to from the OLDACB DD statements or the IMSCATACB_INPUT keyword.
- IAREAnnn/IARnnnnn DD
- This DD statement is a required DD statement when the IDSNMASK keyword is not specified. This statement defines the input area data set, which is the VSAM ESDS or an image copy data set for an area to be changed.
- HFPSYSIN DD
- This DD statement is a required DD statement that defines the input control statement that specifies the FPA functions.
- HFPAPARM DD
- This DD statement is an optional DD statement. This statement defines the control parameters for
generating the analysis reports.
When SENSOR=YES is specified, the values of RBASEFS and RDOVFFS keywords are stored in the Sensor Data repository as the values of data elements DB_THRESHOLD_RBASEFS and DB_THRESHOLD_RDOVFFS. These values are used by the Online Space Management utility as the values of RBASEFS and RDOVFFS keywords for the OER utility process (online reorganization process).
The HFPAPARM DD statement can be coded as a sequential data set or as a PDS member. LRECL=80 is required for the DCB of this data set. The HFPAPARM keywords must be written on one line. It can be coded as follows://HFPAPARM DD * RDOVFFS=40 SYNTBL=20 UDOVFFS=35 RBASEFS=40 /*
You can specify the keywords that are listed in the following table.
Table 2. HFPAPARM keywords Keyword Description ARDIGIT This keyword specifies the digit of the area number field for the UOW group definition records that are defined in the HFPAUOWC file. The value is 3 or 5. The default is 3. If the HFPAUOWC file is not specified in the JCL statement, this keyword is ignored. RBASEFS This keyword is an optional keyword. If a RAP CI contains free space that is greater than the percentage specified, and the RAP CI also uses overflow CIs, a reorganization control statement is generated for the UOW, and the UOW is included in the UOW Exception report. The default is 100%, which means that reorganization control statements are never generated. The maximum value is 99, and the minimum value is 0. RDOVFFS This keyword is an optional keyword. If the DOVF part of a UOW contains free space that is greater than the percentage specified, and the UOW also uses IOVF CIs, a reorganization control statement is generated for the UOW and the UOW is included in the UOW Exception report. The default is 100%, which means that reorganization control statements are never generated. The maximum value is 99, and the minimum value is 0. RGROUP This keyword sets the group identifier for the statistics that are collected and stored in the History2 file or in a sensor data record set. For the History2 file, the keyword value is set in the Repository Group field, and for a sensor data record set, the value is set for the DB_SENSOR_DATA_GROUP_ID data element. This keyword has no default value. If this keyword is not specified, FPA sets the group identifier as follows: - The Repository Group field in the History2 file contains 4 bytes of blank characters.
- The DB_SENSOR_DATA_GROUP_ID data element is not included in the sensor data record set.
SYNTBL This keyword is an optional keyword. It controls the number of reporting entries in the Synonym Chain Analysis table. The default value is 41 (that is, all synonym chains longer than 40 are grouped and reported together). The maximum value is 999, and the minimum value is 12. UDOVFFS This keyword is an optional keyword. If the DOVF UOW contains free space that is less than the percentage specified, the UOW is included in the UOW Exception report. The default is 0%, which means that the UOW is never included in the UOW Exception report. The maximum value is 99, and the minimum value is 0. Note: The RBASEFS keyword and the RDOVFFS keyword that are used for the HFPAPARM data set are different from those used for the REORG command.Requirement: Generating reorganization control statements for the High-Speed DEDB Direct Reorganization utility, you must specify the free space control percentages. You must also specify the HFPARERG DD statement in the JCL stream. For details, see the description of HFPARERG DD. - HFPAUOWC DD
- This DD statement is a required DD statement when HFPAHST2 DD is specified. Each record in this data set specifies a range of UOW numbers of an area, which defines a UOW group of the area. The information about the UOW range is recorded in the HISTORY2 data set or in a sensor data record set in the order that is specified in the HFPAUOWC data set, even if the UOW ranges overlap or are in reverse order. You can specify the UOW ranges for each area in any order. However, you must specify the area numbers in ascending order.
- 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.
- ICEIN DD
- This DD statement is an optional DD statement. This statement specifies the input data set that
contains the control statements for IMS HP Image Copy. The data set can reside
on a tape, a direct-access volume, or it can be routed through the input stream (DD * or DD DATA).
This data set is used only when you specify ICOUT=YES. If the DD statement is not coded and if ICOUT=YES is specified, the default control statements are used. For details about the ICEIN control statements, see IMS High Performance Image Copy User's Guide.
Output DD statements
The following output DD statements are used for the Change function.
- addnname/areaname DD
- This DD statement is a required DD statement. This statement defines an output area data set, which is a VSAM ESDS that is generated by the Change process. The ddname used must be the ddname for the area that is defined in the output ACB library (IMSACB DD).
- 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
- HFPSPRT DD
- This DD statement is an optional DD statement that defines the report output
data set when SENSOR=YES is specified. This output data set contains the Sensor Data Statistics
report that can be used to verify which sensor data is stored in the Sensor Data repository of IMS Tools KB. The following DCB attributes of the file are set by
the FPA main task:
- RECFM=FBA
- LRECL=133
- BLKSIZE=1330
- HFPAHST DD
- This DD statement is an optional DD statement. This statement defines an output data set that contains historical records. The analysis report generation process adds one record for each DEDB area that it processes. The record contains the key space utilization and performance information for that area. This statement is used only when you specify both the REPORT subcommand and the PTRCHKLVL=FULL keyword.
- HFPAHST2 DD
- This DD statement is a required DD statement when HFPAUOWC DD is specified. This statement defines an output data set that contains historical records. The analysis report generation process adds one record for each UOW group that is specified by HFPAUOWC DD. The record contains the key space utilization and performance information for that area, which is based on the information obtained from the specified UOW range. This statement is used only when you specify both the REPORT subcommand and the PTRCHKLVL=FULL keyword. If HFPAUOWC DD statement is not specified, this statement is ignored.
- HFPARERG DD
- This DD statement is an optional DD statement. This statement defines an output data set that contains the reorganization control statements for the High-Speed DEDB Direct Reorganization utility (DBFUHDR0). This statement is used only when you specify both the REPORT subcommand and the PTRCHKLVL=FULL or the PTRCHKLVL=QUICK keyword.
- HFPASNAP DD
- This DD statement is a required DD statement when CISNAP=YES. This statement defines the output data set for the CI Map/CI Dump report and the Pointer Chain Reconstruction report. This DD statement is effective when the REPORT subcommand, PTRCHKLVL=FULL or PTRCHKLVL=QUICK, and CISNAP=YES are specified.
- HFPSEQER DD
- This DD statement is a required DD statement when KEYSEQCHK=BYPASS or KEYSEQCHK=WARNING. This statement defines the output data set that contains the sequence error segment data records for one or more areas.
- HFPTOTAL DD
- This DD statement is an optional DD statement. This statement defines an output data set that contains the total number of reloaded segments in an area. When this DD statement is present, the Change process writes the total number of reloaded segments of each segment type in an area.
- 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.
- ctttSMSG DD
- This DD statement is an optional DD statement. However, this DD statement is required when DFSORT is used. This statement defines an output data set for storing DFSORT messages. For the condition for running DFSORT and the naming rules for the DD names, see the description of ctttWKnn DD.
- itttSMSG DD
- This DD statement is an optional DD statement. However, this DD statement is required when DFSORT is used. This statement defines an output data set for storing DFSORT messages. For the condition for running DFSORT and the naming rules for the DD names, see the description of itttWKnn DD.
- DFSPRINT DD
- This DD statement is an optional DD statement. This statement specifies the output data set that
contains the messages that are produced by IMS HP Image Copy. The data set can
reside on a tape, a direct-access volume, or a printer, or it can be routed through the output
stream (SYSOUT).
This data set is used only when you specify ICOUT=YES. If the DD statement is not coded and ICOUT=YES is specified, a SYSOUT stream is dynamically allocated for the DD.
- ICEPRINT DD
- This DD statement is an optional DD statement. This statement specifies the output data set that
contains the reports that are produced by IMS HP Image Copy. The data set can
reside on a tape, a direct-access volume, or a printer, or it can be routed through the output
stream (SYSOUT).
This data set is used only when you specify ICOUT=YES. If the DD statement is not coded and ICOUT=YES is specified, a SYSOUT stream is dynamically allocated for the DD.
- ICERPRT DD
- This DD statement is an optional DD statement. This statement specifies the output data set that
contains the Image Copy Dump Process report, which is produced by IMS HP Image Copy. It can reside on a tape, a direct-access volume, or a printer, or it
can be routed through the output stream (SYSOUT).
This data set is used only when you specify ICOUT=YES.
- dataout1 DD
- This DD statement is an optional DD statement. This statement defines the primary image copy
data set. One DD statement is required for each data set that is to be dumped. The DD name can be
any 1- to 8-character string. The data set specified by the DD statement must be on either a
direct-access device or a tape device.
This data set is used only when you specify ICOUT=YES. For details of the format and the characteristics of the image copy data set, see IMS High Performance Image Copy User's Guide. You can request IMS HP Image Copy to allocate the image copy data set dynamically by omitting this DD statement and specifying the allocation parameters that are associated with the data set in the ICEIN data set.
- dataout2 DD
- This DD statement is an optional DD statement. This statement defines the secondary image copy
data set. This statement is required only if the associated ICEIN control statement requests the
secondary image copy. The data set specified by the DD statement must be on either a direct-access
device or a tape device.
This data set is used only when you specify ICOUT=YES. For details of the format and the characteristics of the image copy data set, see IMS High Performance Image Copy User's Guide.
Input/Output DD statements
The following input/output DD statements are used for the Change function.
- 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
- ctttWKnn DD
- These DD statements are optional DD statements. These data sets are intermediate
storage data sets that are used by DFSORT.
For more information about coding the SORTWKnn DD statements, see DFSORT Application
Programming Guide.
The adequate size of storage data sets is 1.5 to 2.5 times the input file size. In the Change function, the input file is the unloaded segment record file that is generated internally. The size of the file is computed by multiplying the average length of the unloaded segment record by the number of segments. Allocating twice the space used by the SORTIN data set is usually adequate for each work data set. This data set is allocated dynamically by OS. When the SORTIN is too large for sort, a B37 abend occurs. In this case, this DD is a required DD.
Do not specify DISP=MOD for these DD statements.
- itttWKnn DD
- These are optional DD statements. These are intermediate storage data sets that are used by
DFSORT. For more information about coding the
SORTWKnn DD statements, see DFSORT Application
Programming Guide.
Do not specify DISP=MOD for these DD statements.
The adequate size of storage data sets is 1.5 to 2.5 times the input file size. In the analyze step, the size of each input file is as follows:
- PTRCHKLVL=FULL
- 30 × the number of pointers in the area
- SDEPCHKLVL=FULL
- 30 × the number of SDEP segments in the area
- CISNAP=YES
- 112 × the number of pointers in which pointer errors are detected
- REPORT subcommand and PTRCHKLVL=FULL are specified
- X × (the number of non-SDEP segments in the areas + the number of free space elements in the areas + the number of references to other CIs)
- REPORT subcommand and PTRCHKLVL=QUICK are specified
- 23 × (the number of free space elements in the area + the number of references to other CIs)