<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: dbcreate system tray icon in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829210#M4860053</link>
    <description>&lt;P&gt;Yes, I agree on both points, given your profound explanation above (thanks!). So specifying "-n" is pointless.&lt;/P&gt;
&lt;P&gt;Based on that, and back to the original question:&lt;/P&gt;
&lt;P&gt;Shouldn't then specifying -qi (or any other of the -qX server options) have the desired effect?&lt;/P&gt;</description>
    <pubDate>Thu, 31 May 2012 07:34:22 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2012-05-31T07:34:22Z</dc:date>
    <item>
      <title>dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaq-p/13829201</link>
      <description>&lt;P&gt;Folks,&lt;/P&gt;
&lt;P&gt;Just wondering if there is a way to prevent the sqlanywhere icon from appearing in the taskbar on windows when using the dbcreate capi function?&lt;/P&gt;
&lt;P&gt;For bonus points (:P). Is there a way to specify the ENG parameter for the dbcreate call to specify a unique dbeng12 instance for the database creation. We have a bunch of unit tests that create databases and when there are multiple builds running the database creations get tangled up and fail. We have a workaround for this issue so it isn't critical, just annoying...&lt;/P&gt;
&lt;P&gt;Cheers,
Dan&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 19:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaq-p/13829201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-29T19:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829202#M4860045</link>
      <description>&lt;P&gt;I assume you are refering to the DBCreate DBTools function.&lt;/P&gt;
&lt;P&gt;From the docs, I would think that the startline parameter of the &lt;A href="http://dcx.sybase.com/index.html#1201/en/dbprogramming/dbt-a-create-db-structure.html"&gt;a_create_db&lt;/A&gt; should help, as you can specify the according database engine parameters here. And you can use the -n database server switch to name the database engine and the -qi switch (and possibly other -qX variants) to suppress the icon in the system tray.&lt;/P&gt;
&lt;P&gt;So I would suggest (but have not tested) to use the startline to something like&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;a_create_db&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;startline&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"dbeng12 -gp page_size -c 10M -n MyEngineXy -qi"&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 May 2012 04:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829202#M4860045</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2012-05-30T04:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829203#M4860046</link>
      <description>&lt;P&gt;The easiest way to direct database creation to a particular server is to connect to the server then use a CREATE DATABASE statement. The DBTools interface predates the existence of a CREATE DATABASE statement and nowadays just builds such a statement and sends it to a database engine. Remember that you can't ask a running server to create a database with a page size that is larger than the server's cache page size.&lt;/P&gt;
&lt;P&gt;Alternatively, note that dbinit in the dbtools interface is hard-wired to talk to an engine named "dbinit_engine". You could start an engine by that name and it will end up servicing all calls to the dbtools interface.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 06:27:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829203#M4860046</guid>
      <dc:creator>johnsmirnios</dc:creator>
      <dc:date>2012-05-30T06:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829204#M4860047</link>
      <description>&lt;P&gt;Thanks John, we'll give that a go.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 18:39:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829204#M4860047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-30T18:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829205#M4860048</link>
      <description>&lt;P&gt;We tried that Volker, it doesn't seem to suppress the icon, nor give the engine a specific name. Hence the bafflement.&lt;/P&gt;
&lt;P&gt;We'll try what John has posted above.&lt;/P&gt;
&lt;P&gt;Cheers,
Dan&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2012 18:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829205#M4860048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-30T18:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829206#M4860049</link>
      <description>&lt;P&gt;&lt;A href="https://sqlanywhere-forum.sap.com/users/180/dan/"&gt;@Dan&lt;/A&gt;: Thanks for the clarification!&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sqlanywhere-forum.sap.com/users/466/john/"&gt;@John&lt;/A&gt;: Am I reading the docs on a_create_db wrong? Or is this a topic that might be clarified in the docs (Confine my comment to your answer)?&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2012 03:33:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829206#M4860049</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2012-05-31T03:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829207#M4860050</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;dbinit in the dbtools interface is hard-wired to talk to an engine named "dbinit_engine"&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;With "dbinit": Do you mean the DBCreate() API? AFAIK, all those command line utilities is just using the basic DBTools API calls ... or is this different for DBINIT?&lt;/P&gt;
&lt;P&gt;Does it mean you can't change the engine name DBCreate() will use?&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2012 03:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829207#M4860050</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2012-05-31T03:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829208#M4860051</link>
      <description>&lt;P&gt;Yes, I meant the DBCreate() API and, yes, the dbinit tool uses the DBCreate() API. Writing "dbinit in the dbtools interface" was sloppy nomenclature. I just meant "the part of the dbtools interface used by the dbinit tool".&lt;/P&gt;
&lt;P&gt;If you set the a_create_db.start field, DBCreate() builds the following connection string:&lt;/P&gt;
&lt;P&gt;UID=DBA;PWD=SQL;AUTOSTOP=yes;DBN=utility_db;ENG=dbinit_engine;START=[the start string you provided]&lt;/P&gt;
&lt;P&gt;If you don't specify the start line, DBCreate() uses "dbeng12 -gp [pagesize] -c 10m"&lt;/P&gt;
&lt;P&gt;I see no way to change the name of the engine used by the dbinit.&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2012 07:12:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829208#M4860051</guid>
      <dc:creator>johnsmirnios</dc:creator>
      <dc:date>2012-05-31T07:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829209#M4860052</link>
      <description>&lt;P&gt;As I read the docs, they are not "incorrect". We do use the provided start line; the docs just neglect to say that we use ENG=dbinit_engine as well. The docs could be improved.&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2012 07:18:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829209#M4860052</guid>
      <dc:creator>johnsmirnios</dc:creator>
      <dc:date>2012-05-31T07:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829210#M4860053</link>
      <description>&lt;P&gt;Yes, I agree on both points, given your profound explanation above (thanks!). So specifying "-n" is pointless.&lt;/P&gt;
&lt;P&gt;Based on that, and back to the original question:&lt;/P&gt;
&lt;P&gt;Shouldn't then specifying -qi (or any other of the -qX server options) have the desired effect?&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2012 07:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829210#M4860053</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2012-05-31T07:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: dbcreate system tray icon</title>
      <link>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829211#M4860054</link>
      <description>&lt;P&gt;The -q options should work but it won't solve the problem of running multiple concurrent dbinit invocations. I was going for the bonus points! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2012 16:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/dbcreate-system-tray-icon/qaa-p/13829211#M4860054</guid>
      <dc:creator>johnsmirnios</dc:creator>
      <dc:date>2012-05-31T16:46:13Z</dc:date>
    </item>
  </channel>
</rss>

