The split file index file has the following characteristics:
RECFM=FB or F LRECL=192 DSORG=PS BLKSIZE=192 or a multiple of 192
To have CA SMF Director use a split file index, the file must be created and cataloged before the first dump process that accesses the index. This product does not create the index file while running. The index file is dynamically allocated with DISP=OLD when being processed.
The index is a character format file, and is read by column or by using a space character as a delimiter. The layout is available in a member $SPINDEX in CASFMAC.
A split file has four possible states that are indicated in the index. In addition, diagnostic records that do not contain information about a split file can also appear in the index. These diagnostic records provide information that can be used on an EXTRACT process to help in recreating a split file that has failed.
The split file states are as follows:
The split file has all of the records it contains. No further records are written to it. The file is ready for post processing. Files are marked Complete at the end of a dump process when there is no TIME operand on the SPLIT statement, or when a boundary is crossed as indicated by a TIME or TIMECLOSE operand.
This type of index record always follows an abnormally terminated (X) record. Used with the X record that it follows, it can be used to generate an EXTRACT statement to create the failed SPLIT file.
This split file has no records in it, and will not have any records added to it. This option is a special form of the Complete state that can be checked on by post-processors so that the file can be skipped.
This state indicates a split file was created when there was a TIME operand on the SPLIT statement. The file was the last file that was allocated during the dump process for the SPLIT statement, and more records can be added to this file during the next dump process.
This state indicates that an abnormal termination was encountered when generating a split file. The statistics in the entry indicate the number of records that are written to the split file and the time range of the records when the error occurred. The ABEND code is also reported.
When an abnormal termination record appears in the split file index, it is followed by a diagnostic record. A diagnostic record is indicated with a state of D. The information in the abnormal termination record and diagnostic record can be used to create an EXTRACT statement to recreate the failed split file.
At the time of termination, if the INDEXDUP operand is indicated on the SPLIT statement, a copy of the index is written to the ddname indicated in the INDEXDUP operand.
Note: If multiple SPLIT statements are sharing a single split file index, place the INDEXDUP operand on the last SPLIT statement that indicates that index.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|