ADDX

This control statement adds entries to the index of SMF data that are contained in the SCDS. ADDX allows you to create manual index entries so you can easily reference SMF data that was not dumped by CA SMF Director.
smfd127
This control statement adds entries to the index of SMF data that are contained in the SCDS. ADDX allows you to create manual index entries so you can easily reference SMF data that was not dumped by CA SMF Director.
Statement Format:
ADDX
►►─ ADDX ─ SID(sid)─ FILESQ(filesq) ─ DSNAME(dsn) ──────────────────────►  ►─┬──────────────────┬─────────────────────────────────────────────────►    └─ VOLUME(volser) ─┘  ►─┬───────────────────┬─┬────────────────────┬─ DUMPD(date time) ──────►    ├─ LOW(date time) ──┤ ├─ HIGH(date time) ──┤    └─ JLOW(date time) ─┘ └─ JHIGH(date time) ─┘  ►─┬─────────────────────┬─┬─────────────┬─┬──────────────────────────┬─ . ───►◄    └─ UNIT(device name) ─┘ └─ ALTERNATE ─┘ ├─ LSNAME(logstream name) ─┤                                            └─ SUBNAME(substream name) ┘
Operands and Descriptions:
SID(sid)
Specifies the SMF ID for the history-file index, and defines the origin of the SMF input data.
"sid" is the value that is defined in the BEGIN statement.
VOLUME(volser)
Specifies the serial number of the volume on which the indexed data set resides.
VOLUME is required:
If the CATLG option is not in effect for the SID specified in the SID parameter.
If the data set is not cataloged.
(Optional) When the CATLG option is in effect and the data set is cataloged, as this product can locate the file through the system catalog.
FILESQ(filesq)
Specifies the file sequence number of the indexed data set if it resides on tape. If the indexed data set resides on DASD, this value should be 0.
DSNAME(dsn)
Specifies the complete name of the data set indexed by this request.
LOW(date time)
Specifies the date and time of the first SMF record in the file being added to the data set index.
"date" is in Gregorian (mmddyy) format.
"time" is in hour/minute/second format (hhmmss).
The year portion of the date (yy) must be on or after the year specified in the FIRSTYEAR option on the DUMPOPTIONS statement. If not, ADDX fails.
JLOW(date time)
Specifies the date and time in Julian format of the first SMF record in the file being added to CA SMF Director inventory. "date" is in the format of (cyyddd) and "time" is in the format hhmmss. Specify either the LOW or JLOW keyword but not both.
HIGH(date time)
Specifies the date and time of the last SMF record in the file being added to the data set index. "date" is in Gregorian (mmddyy) format.
"time" is in hour/minute/second (hhmmss) format.
JHIGH(date time)
Specifies the date and time in Julian format of the last SMF record in the file being added to CA SMF Director inventory. "date" is in the format of (cyyddd) and "time" is in the format of hhmmss. You must specify either the HIGH or JHIGH keyword but not both.
DUMPD(date time)
Specifies the date (mmddyy) and time (hhmmss) that the SMF data was created on the indicated volume. This date is used with the expiration date to determine when this entry should be removed from CA SMF Director inventory if the AUTODEL option is enabled.
UNIT (device name)
Specifies the esoteric name that is used to store the history file data. This can be 3490, 3480, and so on. It can also be an SMF storage class.
ALTERNATE
Specifies that the file being indexed is the duplexed history file for this SMF ID.
LSNAME(logstream name)
SUBNAME(substream name)
Specifies the substream name for the history file index that this new entry is added to. The substream must be defined to the specified SID. The LSNAME and SUBNAME operands are mutually exclusive.
Sample ADDX Statement:
ADDX SID(XE44) LOW(052198 010010) HIGH(052198 215900)   VOLUME(115193) FILESQ(1)  UNIT(3490)       DSNAME(SYSTEM.USER.SMFDATA.D052198) DUMPD(052298 000500)  .
ADDX statement output:
 CA                                              AUDIT TRAIL REPORT                           SMFD       PAGE     1  CA SMF Director     12.7                                                           SYSA      23 JUL yyyy  15:27:18     ADDX SID(XE44) LOW(052198 010010) HIGH(052198 215900) VOLUME(115193) FILESQ(1)  UNIT(3490) DSNAME(SYSTEM.USER.SMFDATA.D052198) DUMPD(052298 000500)  .   CAF3602I  DATASET INDEX UPDATE PERFORMED   CAF2900I  RUN COMPLETE