|
Execution parameters are provided with the PARM parameter on the
EXEC statement. There are six required parameters and one optional
parameter. An example showing all seven parameters is in Figure 1. Figure 1. CRURRAP execution parameters//S1 EXEC PGM=CRURRAP,
// PARM='UCAT.BROKEN,12/05/04,14:32:58,12/06/04,19:46:27,60,2'
For ease of specification and alteration, you may wish to split
the individual subparameters across multiple statements. An example
of this is in Figure 2. Figure 2. CRURRAP Execution
Parameters - Example 2//S1 EXEC PGM=CRURRAP,
// PARM=('UCAT.BROKEN',
// '12/05/04','01:32:58',
// '12/06/04','19:46:27',
// 60,
// 2)
If you are using CRURRSV and CRURRAP together to do catalog recovery,
you should specify the same parameters for both programs.
The individual subparameters are described below.
- Name of catalog to be recovered
- Start date (Julian or Gregorian format)
- Start time
- Stop date (Julian or Gregorian format)
- Stop time
- Maximum acceptable gap between SMF records, in minutes
- Maximum clock difference (multi-system operation only), in seconds
- Length - 1 to 4 numeric characters
- Format - SSSS
- Implications - When the catalog to be recovered may have been
updated by more than one system, specification of this parameter causes
adjustment of the effective start and stop times to allow for potential
differences in the system clocks on the involved systems. A clock
difference value of '2', for example, would cause 2 seconds to be
subtracted from the start time and added to the stop time to calculate
effective start/stop times. These adjusted times are then used as
the basis for SMF record selection.
In addition, CRURRAP also
uses the clock difference when examining catalog changes for the same
entry within the clock difference interval. For example, if the clock
difference is specified as 3 seconds and two SMF records indicate
two catalog changes for the catalog entry for data set ABC less than
3 seconds apart and from different systems, then it is not possible
to be certain of the order in which these changes really occurred.
Messages will be written to SYSLOG when such conditions are found,
providing more information about the condition and the action taken.
If this parameter is omitted or specified as zero, no start/stop adjustment
is done and the synchronization checking just described is also not
done.
- Restrictions - Crossing midnight during this adjustment is not
supported. Do not specify a start time which, if the clock difference
is subtracted from it, would generate an effective start time on a
different day than the specified start time. Likewise do not specify
a stop time which, if the clock difference is added to it, would generate
an effective stop time on a different day than the specified stop
time. For example, a start time of 00:00:01 and a clock difference
of 5 seconds would violate this restriction. If it is absolutely necessary
to bypass this problem, specify a start time just before midnight
(23:59:59) and the earlier start date, or a stop time just after midnight
(00:00:01) and the later date, depending on whether your problem is
with the start or stop adjustment.
This parameter is required
for multi-system operation, where the catalog to be recovered could
have been updated by more than one system. For a single-system environment
it can be omitted or specified as zero.
|