JCL and control statements for program CPCTSCHD


Sample JCL to execute program CPCTSCHD is located in member CPCSCHD in the sample library.

The CPCSYSIN control statement data set contains the SCHEDULE command and required keywords. A value, enclosed in parentheses, follows each keyword.

To specify control statement keywords for CPCTSCHD

  1. For the SCHEDULE command, specify the required TASKNAME(taskName) keyword with one of the following values for taskName:

    TASKNAME value

    Description

    Required keywords for this value

    AUDIT

    Verify that analysis has completed for all databases that have a defined collection schedule. For more information, see Auditing-databases-to-ensure-analysis.

    FROMRECON

    BACKUP

    Back up repository data.

    None

    DBSYNC

    Synchronize registry information in Database Advisor with current information in the RECONs, detect any changes, and cause the registration process to update the repositories with current information.

    FROMRECON

    EMAILCON

    Send consolidated e-mail messages, which provide information about detected exceptions, to designated recipients. This task uses the parameter values that are described in E-mail-WTO-REXX-EXEC-parameters.

    FROMRECON

    EODCOLLECT

    Collect historical information for full-function databases that were reloaded during the day, update base values, and initiate analysis of databases that have updated values.

    A database is included in this task if any of the following events occur without a pointer checker being run afterwards:

    • The database load utility is executed.
    • An IDCAMS REPRO is performed on a database data set.
    • A database is recovered.

    FROMRECON

    FFCOLLECT

    Collect statistics about full-function databases and HALDBs and write statistics detail records.

    A database is included in this task if the time interval between the current date and the date of the last data collection is greater than the value of the Data Collection Interval parameter.

    FROMRECON

    FPCOLLECT

    Collect statistics about Fast Path databases and write statistics detail records.

    A database is included in this task if the time interval between the current date and the date of the last data collection is greater than the value of the Data Collection Interval parameter.

    FROMRECON

    FPSPACE

    Collect space-related statistics for Fast Path databases and write space detail records. This function is not scheduled automatically by default. Before you schedule this task, see the installation requirements in the the Installation System documentation.

    A Fast Path database is included in this task if the following conditions exist:

    • The difference between the current time and the last time data was collected is greater than the Fast Path Space Data Collection Interval parameter.
    • The Activate Fast Path Space Data Collection parameter is set to Yes.

    FROMRECON

    HCOLLECT

    Collect statistics about full-function databases and HALDBs and write statistics detail records.

    A database is included in this task if the Activate FF Hourly Collect parameter is set to Yes.

    FROMRECON

    ICOLLECT

    Immediately collect and analyze data for full-function and HALDB databases.

    FROMRECON, DBDNAME, PARTNAME

    IFPCOLLECT

    Immediately collect statistics about Fast Path databases and write statistics detail records. Before you schedule this task, see the installation requirements in the the Installation System documentation.

    FROMRECON, DBDNAME, PARTNAME

    PURGE

    Start an internal process to purge (delete) repository data, based on site values that specify how long to retain statistical information.

    FROMRECON

    RCOLLECT

    Execute Recovery Advisor collection and analysis processing. This process scans the RECON for conditions that can affect the recoverability of IMS data and the performance of RECON data sets.

    FROMRECON

  2. If required for the specified task, specify the DBDNAME(name) keyword to provide the DBD name of the database to process.
  3. If required for the specified task, specify the PARTNAME(name) keyword to provide the name of the partition or area to process.
  4. If required for the specified task, specify the FROMRECON(reconDataSetName) keyword to provide the data set name of the RECON that defines the objects to process.

 

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

IMS Database Guides 3.0