You can use the commands in this section to operate DataPropagator for Microsoft Jet.
This section explains how to perform the following tasks:
Before you start DataPropagator for Microsoft Jet, you must start the Capture program on each DB2 source server, if applicable.
Before you start DataPropagator for Microsoft Jet, you must establish any required line or LAN connection. DataPropagator for Microsoft Jet does not directly manage telephone connections, so you need to dial up the server manually or use any software that provides auto-dialing to establish a connection before you call DataPropagator for Microsoft Jet to perform database synchronization.
To start DataPropagator for Microsoft Jet, use the ASNJET command. Enter the ASNJET command from a command prompt.
>>-ASNJET--apply_qual--ctrl_srvr----+----------+---+---------+--> +-INAMSG---+ +-NOTRC---+ '-NOINAMSG-' +-TRCERR--+ '-TRCFLOW-' >-----+----------+---+----------+------------------------------>< +-NOTIFY---+ +-MOBILE---+ '-NONOTIFY-' '-NOMOBILE-'
Table 32 defines the parameters.
Table 32. ASNJET Command Parameter Definitions for DataPropagator for Microsoft Jet
Example 1: If you enter the following command from a command prompt, DataPropagator for Microsoft Jet is invoked with the Apply qualifier MYQUAL, the control server is CNTLSRVR, no inactivity message is generated, no trace is produced, the ASNJDONE exit routine is not called, and the active subscriptions are copied only once and then the program exits.
ASNJET MYQUAL CNTLSRVR MOBILE
Example 2: If you enter the following command from a command prompt, DataPropagator for Microsoft Jet is invoked with the Apply qualifier AQ2, the control server is CNTLSRV, an extensive trace is produced, and the program runs continuously until you stop it with the ASNJSTOP command.
ASNJET AQ2 CNTLSRV TRCFLOW NOMOBILE
When you start DataPropagator for Microsoft Jet using the MOBILE option, it runs until all active subscriptions are processed, and then terminates by itself. If you want to stop DataPropagator for Microsoft Jet, you can use the ASNJSTOP command to stop the program in an orderly way as soon as the current subscription set is copied and commit the log records processed up to that point.
Use the following command to stop DataPropagator for Microsoft Jet. Enter the ASNJSTOP command from a command prompt.
>>-ASNJSTOP--apply_qual----------------------------------------><
Where apply_qual is the Apply qualifier that you used when you started DataPropagator for Microsoft Jet with the ASNJET command.
Example: If you enter the following command from a command prompt, DataPropagator for Microsoft Jet stops processing the Apply qualifier MQUAL as soon as the current subscription set is processed.
ASNJSTOP MYQUAL
You can also use one of the following key combinations from the window where the program is running to stop DataPropagator for Microsoft Jet:
If you encounter errors when you run ASNJET, ensure that:
For error message information, see Capture and Apply messages. For more information about troubleshooting, see Troubleshooting.