MQL<1>set context user Administrator;
MQL<2>compare person "Joe C*" from file
d:\enoviaV6R2011\studio\xml\person1.xml;
0 objects have been added.
0 objects have been removed.
0 objects have been changed.
5 objects are the same.
| Line 2 compares all person objects that start with "Joe C" with the baseline file person1.xml. Since no log file is specified, no report is generated. (Not having a log file would typically be done to see if anything has changed.) The summary message states that none of the five objects analyzed have changed. |
MQL<3>compare person "Joe C*" workspace
from file d:\enoviaV6R2011\studio\xml\person1.xml
0 objects have been added.
0 objects have been removed.
1 object has been changed.
4 objects are the same. | Line 3 performs the same compare but also includes workspace items assigned to the persons. The results now show that there has been a change. To view the changes, a report must be generated. |
MQL<4>verbose on; | Line 4 turns on verbose mode. |
MQL<5>compare person "Joe C*" workspace
from file d:\enoviaV6R2011\studio\xml\person1.xml
use log d:\enoviaV6R2011\studio\xml\person1w.log;
0 objects have been added.
0 objects have been removed.
1 object has been changed.
4 objects are the same.
compare successfully completed. | Line 5 performs the previous compare
but also gives a log file to place the report into. The resulting
report can be found in Log File.
|