The Compare File Attributes (CMPFILA), Compare Object Attributes (CMPOBJA), and Compare IFS Attributes (CMPIFSA) commands support comparing the journaling attributes listed in Table 150 for objects replicated from the user journal. These commands function similarly when comparing journaling attributes.
When a compare is requested, MIMIX determines the result displayed in the Differences Indicator field by considering whether the file is journaled, whether the request includes a data group, and the data group’s configured settings for journaling.
Regardless of which journaling attribute is specified on the command, MIMIX always checks the journaling status first (*JOURNALED attribute). If the file or object is journaled on both systems, MIMIX then considers whether the command specified a data group definition before comparing any other requested attribute.
When specified on the CMPOBJA command, these values apply only to files, data areas, or data queues, as well as to libraries when *LIB is a specified object type for a journal-centric configuration. When specified on the CMPFILA command, these values apply only to PF-DTA and PF38-DTA files. |
|
*JOURNAL |
Object journal information attributes. This value acts as a group selection, causing all other journaling attributes to be selected |
*JOURNALED |
Journal Status. Indicates whether the object is currently being journaled. This attribute is always compared when any of the other journaling attributes are selected. |
*JRN 1 |
Journal. Indicates the name of the current or last journal. If blank, the object has never been journaled. |
*JRNIMG 1 2 3 |
Journal Image. Indicates the kinds of images that are written to the journal receiver for changes to objects. |
*JRNLIB 1 |
Journal Library. Identifies the library that contains the journal. If blank, the object has never been journaled. |
*JRNOMIT 1 3 |
Journal Omit. Indicates whether file open and close journal entries are omitted. |
1 When these values are specified on a Compare command, the journal status (*JOURNALED) attribute is always evaluated first. The result of the journal status comparison determines whether the command will compare the specified attribute. 2Although *JRNIMG can be specified on the CMPIFSA command, it is not compared even when the journal status is as expected. The journal image status is reflected as not supported (*NS) because the operating system only supports after (*AFTER) images. 3When the object is replicated due to a journal-centric configuration, the attribute is compared to the actual attribute on the source system. When replicated by other data group configurations, the attribute is compared to the configuration setting for the journaling attribute. |
Compares that do not specify a data group - When no data group is specified on the compare request, MIMIX compares the journaled status (*JOURNALED attribute). Table 151 shows the result displayed in the Differences Indicator field. If the file or object is not journaled on both systems, the compare ends. If both source and target systems are journaled, MIMIX then compares any other specified journaling attribute.
Difference Indicator |
||||
---|---|---|---|---|
Journal Status |
Target | |||
Yes | No |
*NOTFOUND |
||
Source |
Yes |
*EQ |
*NE |
*NE |
No |
*NE |
*EQ |
*NE | |
*NOTFOUND |
*NE |
*NE |
*UN |
1The returned values for journal status found on the Source and Target systems are shown in the SYS1VAL and SYS2VAL fields. Which system is source and which is target is determined by the value of the DTASRC field. |
Compares that specify a data group - When a data group is specified on the compare request, MIMIX compares the journaled status (*JOURNALED attribute) to the configuration values. If both source and target systems are journaled according to the expected configuration settings, then MIMIX compares any other specified journaling attribute against the configuration settings.
The Compare commands vary slightly in which configuration settings are checked.
-
For CMPFILA requests, if the journaled status is as configured, any other specified journal attributes are compared. Possible results from comparing the *JOURNALED attribute are shown in Table 152.
-
For CMPOBJA and CMPIFSA requests, if the journaled status is as configured and the configuration specifies *YES for Cooperate with database (COOPDB), then any other specified journal attributes are compared. Possible results from comparing the *JOURNALED attribute are shown in Table 152 and Table 153. If the configuration specifies COOPDB(*NO), only the journaled status is compared; possible results are shown in Table 154.
Table 152, Table 153, and Table 154 show results for the *JOURNALED attribute that can appear in the Difference Indicator field when the compare request specified a data group and considered the configuration settings.
Table 152 shows results when the configured settings for Journal on target and Cooperate with database are both *YES.
Difference Indicator |
||||
---|---|---|---|---|
Journal Status 1 |
Target |
|||
Yes | No | *NOTFOUND | ||
Source |
Yes |
*EC |
*EC |
*NE |
No | *NC | *NC | *NE | |
*NOTFOUND | *NE | *NE | *UN |
1The returned values for journal status found on the Source and Target systems are shown in the SYS1VAL and SYS2VAL fields. Which system is source and which is target is determined by the value of the DTASRC field. |
Table 153 shows results when the configured settings are *NO for Journal on target and *YES for Cooperate with database.
Difference Indicator |
||||
---|---|---|---|---|
Journal Status1 |
Target | |||
Yes | No | *NOTFOUND | ||
Source | Yes | *NC |
*EC |
*NE |
No |
*NC |
*NC |
*NE | |
*NOTFOUND |
*NE |
*NE |
*UN |
1The returned values for journal status found on the Source and Target systems are shown in the SYS1VAL and SYS2VAL fields. Which system is source and which is target is determined by the value of the DTASRC field. |
.
Table 154 shows results when the configured setting for Cooperate with database is *NO. In this scenario, you may want to investigate further. Even though the Difference Indicator shows values marked as configured (*EC), the object can be not journaled on one or both systems. The actual journal status values are returned in the System 1 Value (SYS1VAL) and System 2 Value (SYS2VAL) fields.
Difference Indicator |
||||
---|---|---|---|---|
Journal Status1 |
Target | |||
Yes | No | *NOTFOUND | ||
Source | Yes | *EC |
*EC |
*NE |
No |
*EC |
*NC |
*NE | |
*NOTFOUND |
*NE |
*NE |
*UN |