mlsrv11 syntax

Function

Start a MobiLink server.

Syntax
mlsrv11 -c "connection-string" [ options ]
Option Description

@data

Read in options from the specified environment variable or configuration file. See @data option.
-a Disable automatic reconnection upon synchronization error. See -a option.
-b Trim blank padding of strings. See -b option.
-bn size Specify the maximum number of bytes to consider when comparing BLOBs for conflict detection. See -bn option.
-c "keyword=value; ..." Supply ODBC database connection parameters for your consolidated database. See -c option.
-cm size Specify the server memory cache size. See -cm option.
-cn connections Set the maximum number of simultaneous connections with the consolidated database server. See -cn option.
-cr count Set the maximum number of database connection retries. See -cr option.
-cs "keyword=value; ..." Supply system database connection parameters for your MobiLink System Database (MLSD).
-ct connection-timeout Set the length of time a connection may be unused before it is timed out. See -ct option.
-dl Display all log messages in the MobiLink server messages window. See -dl option.
-dr For Adaptive Server Enterprise only. Ensures that tables involved in synchronization do not use the DataRow locking scheme. See -dr option.
-ds size Specify the maximum amount of data that can be stored for use in all restartable downloads. See -ds option.
-dsd Disable snapshot isolation, which is the default download isolation level for SQL Anywhere and Microsoft SQL Server consolidated databases. See -dsd option.
-dt Detect transactions only within the current database. See -dt option.
-e filename Store remote error logs sent into the named file. See -e option.
-esu Use snapshot isolation for uploads. See -esu option.
-et filename

Store remote error logs sent into the named file, but delete the contents first if the file exists. See -et option.

-f Assume synchronization scripts do not change. See -f option.
-fips Forces all secure MobiLink streams to be FIPS-compliant. See -fips option.
-fr If table data scripts are missing, synchronization does not terminate but just issues a warning. See -fr option.
-ftr path Creates a location for files that are to be used by the mlfiletransfer utility. See -ftr option.
-lsc protocol[ protocol-options Specifies the local server connect information. See -lsc option.
-m [filename] Enables QAnywhere messaging. See -m option.
-nba { + | - } Sets the server download acknowledgement mode of operation. See -nba option.
-nc connections Sets maximum number of concurrent connections. See -nc option.
-notifier Starts a Notifier for server-initiated synchronization. See -notifier option.
-o logfile Log messages to a file. See -o option.
-on size Set maximum size for log file. See -on option.
-oq Prevent the popup window on startup error. See -oq option.
-os size Maximum size of output file. See -os option.
-ot logfile Log messages to a file, but delete its contents first. See -ot option.
-q Minimize the MobiLink server messages window. See -q option.
-r retries Retry deadlocked uploads at most this many times. See -r option.
-rd delay Set maximum delay, in seconds, before retrying a deadlocked transaction. See -rd option.
-s count Specify the maximum number of rows to be fetched or sent at once. See -s option.
-sl dnet script-options Set the .NET CLR options and force loading of the virtual machine on startup. See -sl dnet option.
-sl java script-options Set the Java virtual machine options and force loading of the virtual machine on startup. See -sl java option.
-sm number Set the maximum number of synchronizations that can be actively worked on. See -sm option.
-ss Puts the server into shared server state mode. See -ss option.
-tc minutes Set the count down timer for SQL script execution. See -tc option.
-tf Fail the SQL script execution when the count down timer expires (not for Oracle). See -tf option.
-tx count For transactional uploads, batches groups of transactions and commits them together. See -tx option.
-ud

On Unix platforms, run as a daemon. See -ud option.

-ui For Linux with X window, starts the MobiLink server in shell mode if a usable display isn't available. See -ui option.
-ux

Opens the MobiLink server messages window. See -ux option.

-v [ levels ] Controls the type of messages written to the log file. See -v option.
-w count Set the number of database worker threads. See -w option.
-wu count Set the maximum number of database worker threads permitted to process uploads concurrently. See -wu option.
-x protocol[ (network-parameters) ] Specify the communications protocol. Optionally, specify network parameters in form parameter=value, with multiple parameters separated by semicolons. See -x option.
-xo protocol[ (network-parameters) ] For version 8 and 9 clients, specify the communications protocol. Optionally, specify network parameters in form parameter=value, with multiple parameters separated by semicolons. See -xo option.
-zp In the event of a timestamp conflict between the consolidated and remote database, this option allows timestamp values with a precision higher than the lowest-precision to be used for conflict detection purposes. See -zp option.
-zs name Specify a server name. See -zs option.
-zt number Specify the maximum number of processors used to run the MobiLink server. See -zt option.
-zu { + | - } Controls the automatic addition of users when the authenticate_user script is undefined. See -zu option.

-zus

Causes MobiLink to invoke upload scripts for tables for which there is no upload. See -zus option.

-zw 1,...5

Controls which levels of warning message to display. See -zw option.
-zwd code Disables specific warning codes. See -zwd option.
-zwe code Enables specific warning codes. See -zwe option.
Description

The MobiLink server opens connections, via ODBC, with your consolidated database server. It then accepts connections from client applications and controls the synchronization process.

You must supply connection parameters for the consolidated database using the -c option. The command line options may be specified in any order. The -c option is shown here as the first item in a command string as a convention only. It can be anywhere in a list of options, but must precede a connection string.

Unless your ODBC data source is configured to automatically start the consolidated database, the database must be running before you start the MobiLink server.

See also