SAP Knowledge Base Article - Preview

1970332 - dbmlsync incorrectly parses the command line when using double-quotes around arguments with double-backslashes

Symptom

When using the MobiLink SQL Anywhere client utility (dbmlsync) and a command line parameter was specified and enclosed in double-quotes that contained double-backslashes (e.g. a UNC name parameter) but the value was not the first item in the parameter, then the first backslash in the value would be dropped.

Using an extended option argument such as:

   dbmlsync -e "dir=\\myserver\foo\bar" ...

Would be interpreted as:

   dbmlsync -e "dir=\myserver\foo\bar" ...

This issue can cause various error messages within dbmlsync, depending upon the value of the variable being passed into dbmlsync. In the specific case of trying to open a UNC network drive for offline logs as the example shows above, the error message is:

   Cannot open transaction log directory "\myserver\foo\bar"


Read more...

Environment

  • SAP Sybase SQL Anywhere 10, 11, 12 (all platforms)
    • dbmlsync MobiLink synchronization client

Product

SAP Sybase SQL Anywhere 12.0 ; Sybase SQL Anywhere 10.0 ; Sybase SQL Anywhere 11.0

Keywords

11607712 , KBA , BC-SYB-SQA , SQL Anywhere (on premise, on demand) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.