The SMFDSECT macro maps the SMF record, which can be found in CAI.CBXGMAC. Depending on the access method that is used to read the SMF data. Subtract 4 bytes from the offsets listed in the SMFDSECT to locate specific fields. Due to the possibility that the 4-byte Record Descriptor Word (RDW) is not returned in the SMF record. The RDW is defined as part of the SMFDSECT.
The HSTDSECT macro maps the history record, which can be found in CAI.CBXGMAC.
History records are written either to a VSAM History cluster or a DB2 database table. Based on the HISTORY= option in the CA XCOM Data Transport Default Table or Configuration file. See the CA XCOM Data Transport z/OS Installation Guide for information on the setup using DB2 to record XCOM transfer history.
There can be occasions where the DB2 database is unavailable to CA XCOM Data Transport for writing history records. To maintain history data while the database is not available, CA XCOM Data Transport writes information to a sequential overflow data set named XCOMHOVR. The INSERT statements that would be executed against the database are written to this file. The file is used later to update the database when it becomes available.
The job executes when the data set definition is present in the JCL when using ODBC history. The DD statement is as follows:
//XCOMHOVR DD DISP=SHR,DSN=your.hlq.dataset
Sample allocation JCL is provided in CAI.CBXGJCL(DEFHOVR). On startup of CA XCOM Data Transport, a message is issued indicating how many records currently exist in the overflow file, as follows:
XCOMM0862I XCOMHOVR contains 1 records at startup
This message is also issued for every ten records that are written to the overflow file.
When the DB2 database becomes available, the overflow file can then be used to add the accumulated history records into the database.
To update the database
This step copies the current contents of the overflow data set to another data set and clears the data set, allowing it to remain available to CA XCOM Data Transport. To perform this step, issue the following command to the CA XCOM Data Transport started task:
f xcom,COPYHIST,dataset_name
The data set name is the name of a new data set to be created. The DCB is defined by CA XCOM Data Transport. If the data set already exists, CA XCOM Data Transport fails the command and does not overwrite this data set.
This data set is compatible with SPUFI.
| Copyright © 2012 CA. All rights reserved. |
|