- Run the following MQL commands.
-
Search the IEFSmartSync JPO.
MQL>list program IEFSmartSync;
- Take a back up of the existing IEFSmartSync JPO by cloning it.
MQL>copy program IEFSmartSync <BACKUP_FILE_NAME>;For example, MQL>copy program IEFSmartSync IEFSmartSync_copy; - Extract program for editing.
MQL>extract program IEFSmartSync source <USER_READ_WRITE_DIR> ; where, <USER_READ_WRITE_DIR> is the directory with read-write access for the current user.For example, MQL>extract program IEFSmartSync source 'C:\temp' ; -
Update the _proximityMap within the buildProximityMap() method of the JPO in
<USER_READ_WRITE_DIR>\IEFSmartSync_mxJPO.java.
Further instructions are provided in the jpo.
-
Modify program
IEFSmartSync file <USER_READ_WRITE_DIR>\IEFSmartSync_mxJPO.java
For example, modify program IEFSmartSync file C:\temp\IEFSmartSync_mxJPO.java ; -
Compile the program using the following
mql command
MQL>compile prog IEFSmartSync force Note:
The compilation should be successful.
-
Add the above program as the replication trigger for the store in which you are going to test the use case. Use the following mql command,
modify store ${STORE} trigger IEFSmartSync;For example, modify store STORE trigger IEFSmartSync;
|