1You will receive an error if you run the asnscrt command 1according to the syntax diagram in the main documentation. To use the 1asnscrt command, specify the Windows service name for the DB2 1instance instead of the DB2 instance name:
1Syntax:
1>>-asnscrt--+--C-+--db2_service--account--password--------------> 1 +--A-+ 1 '--M-' 1 1>--+-asncap_command---+---------------------------------------->< 1 +-asnapply_command-+ 1 '-asnmon_command---' 1 1
1Where db2_service is the Windows service name for the DB2 1instance.
1For example, to create a Windows service that invokes a Capture program for 1the Windows service called db2-0:
1asnscrt -C db2-0 .\joesmith password asncap capture_server=sampledb 1 capture_schema=ASN capture_path=X:\logfiles