When comparing the attribute *PRFPWDIND (user profile password indicator) with the Compare Object Attributes (CMPOBJA) command, MIMIX assumes that the user profile names are the same on both systems. User profile passwords are only compared if the user profile name is the same on both systems and the user profile of the local system is enabled and has a defined password.
If the local or remote user profile has a password of *NONE, or if the local user profile is disabled or expired, the user profile password is not compared. The System Indicator fields will indicate that the attribute was not compared (*NOTCMPD). The Difference Indicator field will also return a value of not compared (*NA).
The CMPOBJA command does not support name mapping while comparing the *PRFPWDIND attribute. If the user profile names are different, or if you attempt name mapping, the System Indicator fields will indicate that comparing the attribute is not supported (*NOTSPT). The Difference Indicator field will also return a value of not supported (*NS).
The following tables identify the expected results when user profile password is compared. Note that the local system is the system on which the command is being run, and the remote system is defined as System 2.
Table 165 shows the possible Difference Indicator values when the user profile passwords are the same on the local and remote systems and are not defined as *NONE.
Difference Indicator |
|||||
---|---|---|---|---|---|
User Profile Password |
Remote System |
||||
*ENABLED | *DISABLED | Expired |
Not Found |
||
Local System |
*ENABLED |
*EQ | *EQ | *EQ | *NE |
*DISABLED |
*NA | *NA | *NA | *NE | |
Expired |
*NA | *NA | *NA | *NE | |
Not Found | *NE | *NE | *NE | *EQ |
Table 166 shows the possible Difference Indicator values when the user profile passwords are different on the local and remote systems and are not defined as *NONE.
Difference Indicator |
|||||
---|---|---|---|---|---|
User Profile Password |
Remote System |
||||
*ENABLED | *DISABLED | Expired |
Not Found |
||
Local System |
*ENABLED |
*NE | *NE | *NE | *NE |
*DISABLED |
*NA | *NA | *NA | *NE | |
Expired |
*NA | *NA | *NA | *NE | |
Not Found | *NE | *NE | *NE | *EQ |
Table 167 shows the possible Difference Indicator values when the user profile passwords are defined as *NONE on the local and remote systems.
Difference Indicator |
|||||
---|---|---|---|---|---|
User Profile Password |
Remote System |
||||
*ENABLED | *DISABLED | Expired |
Not Found |
||
Local System |
*ENABLED |
*NA | *NA | *NA | *NE |
*DISABLED |
*NA | *NA | *NA | *NE | |
Expired |
*NA | *NA | *NA | *NE | |
Not Found | *NE | *NE | *NE | *EQ |