<?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: Alter subscription in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842130#M4872973</link>
    <description>&lt;P&gt;Hello
A couple of points 
1)the remote computers currently sync with our server, so there has to be a subscription/publication
2) The reason there is no for clause is we need to change 100's of remote computers&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2011 15:40:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-15T15:40:08Z</dc:date>
    <item>
      <title>Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaq-p/13842124</link>
      <description>&lt;P&gt;Attempting to do a Alter Subscription statement to change the IP address.
I get  an error stating it can't recognize the subscription name
Any suggestions? Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 13:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaq-p/13842124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T13:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842126#M4872969</link>
      <description>&lt;P&gt;The following two samples (using v12.0.1 build 3354) that change the address from localhost to rdomarat-w7e worked without error for me :&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;create&lt;/SPAN&gt; &lt;SPAN class="n"&gt;synchronization&lt;/SPAN&gt; &lt;SPAN class="n"&gt;user&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"rem1"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;create&lt;/SPAN&gt; &lt;SPAN class="n"&gt;synchronization&lt;/SPAN&gt; &lt;SPAN class="n"&gt;subscription&lt;/SPAN&gt; &lt;SPAN class="n"&gt;to&lt;/SPAN&gt; &lt;SPAN class="n"&gt;p1&lt;/SPAN&gt; &lt;SPAN class="k"&gt;for&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"rem1"&lt;/SPAN&gt;
   &lt;SPAN class="n"&gt;type&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'tcpip'&lt;/SPAN&gt; &lt;SPAN class="n"&gt;address&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'host=localhost'&lt;/SPAN&gt; &lt;SPAN class="n"&gt;script&lt;/SPAN&gt; &lt;SPAN class="n"&gt;version&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'v12'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;alter&lt;/SPAN&gt; &lt;SPAN class="n"&gt;synchronization&lt;/SPAN&gt; &lt;SPAN class="n"&gt;subscription&lt;/SPAN&gt; &lt;SPAN class="n"&gt;to&lt;/SPAN&gt; &lt;SPAN class="n"&gt;p1&lt;/SPAN&gt; &lt;SPAN class="k"&gt;for&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"rem1"&lt;/SPAN&gt; &lt;SPAN class="n"&gt;address&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'host=rdomarat-w7e'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="n"&gt;create&lt;/SPAN&gt; &lt;SPAN class="n"&gt;synchronization&lt;/SPAN&gt; &lt;SPAN class="n"&gt;user&lt;/SPAN&gt; &lt;SPAN class="n"&gt;rem2&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;create&lt;/SPAN&gt; &lt;SPAN class="n"&gt;synchronization&lt;/SPAN&gt; &lt;SPAN class="n"&gt;subscription&lt;/SPAN&gt; &lt;SPAN class="n"&gt;MySyncSub&lt;/SPAN&gt; &lt;SPAN class="n"&gt;to&lt;/SPAN&gt; &lt;SPAN class="n"&gt;p1&lt;/SPAN&gt; &lt;SPAN class="k"&gt;for&lt;/SPAN&gt; &lt;SPAN class="n"&gt;rem2&lt;/SPAN&gt; 
  &lt;SPAN class="n"&gt;type&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'tcpip'&lt;/SPAN&gt; &lt;SPAN class="n"&gt;address&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'host=localhost'&lt;/SPAN&gt; &lt;SPAN class="n"&gt;script&lt;/SPAN&gt; &lt;SPAN class="n"&gt;version&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'v12'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;alter&lt;/SPAN&gt; &lt;SPAN class="n"&gt;synchronization&lt;/SPAN&gt; &lt;SPAN class="n"&gt;subscription&lt;/SPAN&gt; &lt;SPAN class="n"&gt;MySyncSub&lt;/SPAN&gt; &lt;SPAN class="n"&gt;address&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'host=rdomarat-w7e'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Jun 2011 15:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842126#M4872969</guid>
      <dc:creator>regdomaratzki</dc:creator>
      <dc:date>2011-06-15T15:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842127#M4872970</link>
      <description>&lt;P&gt;What version and build number of SQL Anywhere are you using?&lt;/P&gt;
&lt;P&gt;What exact commands are you executing?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 15:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842127#M4872970</guid>
      <dc:creator>regdomaratzki</dc:creator>
      <dc:date>2011-06-15T15:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842128#M4872971</link>
      <description>&lt;P&gt;ALTER SYNCHRONIZATION SUBSCRIPTION
TO kokolink
TYPE TCPIP
ADDRESS &lt;A href="http://'host=hg.nspirehealth.com"&gt;'host=hg.nspirehealth.com&lt;/A&gt;;port=443';&lt;BR /&gt;
&lt;/P&gt;
&lt;P&gt;Build 10.0.1.3887
I get SQLCode = -767&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 15:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842128#M4872971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T15:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842129#M4872972</link>
      <description>&lt;P&gt;You are trying to alter the settings for the kokolink publication, but the error is being thrown because you have never created the settings for the publication.  I will get the error you specified if I execute the following SQL :&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;PUBLICATION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;p1&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TABLE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;t1&lt;/SPAN&gt; &lt;SPAN class="p"&gt;);&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SYNCHRONIZATION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;USER&lt;/SPAN&gt; &lt;SPAN class="n"&gt;u1&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SYNCHRONIZATION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SUBSCRIPTION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TO&lt;/SPAN&gt; &lt;SPAN class="n"&gt;p1&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FOR&lt;/SPAN&gt; &lt;SPAN class="n"&gt;u1&lt;/SPAN&gt; 
  &lt;SPAN class="n"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TCPIP&lt;/SPAN&gt; &lt;SPAN class="n"&gt;ADDRESS&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'host=localhost'&lt;/SPAN&gt; &lt;SPAN class="n"&gt;OPTION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;sv&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'v1'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;ALTER&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SYNCHRONIZATION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SUBSCRIPTION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TO&lt;/SPAN&gt; &lt;SPAN class="n"&gt;p1&lt;/SPAN&gt; &lt;SPAN class="n"&gt;ADDRESS&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'host=10.1.1.1'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;However, the SQL below, which is equivalent, does not produce the error.&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;PUBLICATION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;p2&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TABLE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;Admin&lt;/SPAN&gt; &lt;SPAN class="p"&gt;);&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SYNCHRONIZATION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;USER&lt;/SPAN&gt; &lt;SPAN class="n"&gt;u2&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SYNCHRONIZATION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SUBSCRIPTION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TO&lt;/SPAN&gt; &lt;SPAN class="n"&gt;p2&lt;/SPAN&gt; 
  &lt;SPAN class="n"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TCPIP&lt;/SPAN&gt; &lt;SPAN class="n"&gt;ADDRESS&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'host=localhost'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SYNCHRONIZATION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SUBSCRIPTION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TO&lt;/SPAN&gt; &lt;SPAN class="n"&gt;p2&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FOR&lt;/SPAN&gt; &lt;SPAN class="n"&gt;u2&lt;/SPAN&gt; &lt;SPAN class="n"&gt;OPTION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;sv&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'v1'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;ALTER&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SYNCHRONIZATION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SUBSCRIPTION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TO&lt;/SPAN&gt; &lt;SPAN class="n"&gt;p2&lt;/SPAN&gt; &lt;SPAN class="n"&gt;ADDRESS&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'host=10.1.1.1'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;In the 2nd sample, we defined some defaults for the publication, and all future synchronization subscriptions to this publication inherit these default settings.&lt;/P&gt;
&lt;P&gt;You probably want to add the "FOR user_name" clause to your ALTER SYNCHRONIZATION SUBSCRIPTION command to specify the name of the synch user as well.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 15:33:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842129#M4872972</guid>
      <dc:creator>regdomaratzki</dc:creator>
      <dc:date>2011-06-15T15:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842130#M4872973</link>
      <description>&lt;P&gt;Hello
A couple of points 
1)the remote computers currently sync with our server, so there has to be a subscription/publication
2) The reason there is no for clause is we need to change 100's of remote computers&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 15:40:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842130#M4872973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T15:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842131#M4872974</link>
      <description>&lt;P&gt;Can you please post the contents of the SYS.SYSSYNC table on the database where you are getting this error?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 15:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842131#M4872974</guid>
      <dc:creator>regdomaratzki</dc:creator>
      <dc:date>2011-06-15T15:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842132#M4872975</link>
      <description>&lt;P&gt;I was not allowed to attach a file so here it is:&lt;/P&gt;
&lt;P&gt;sync_id type    publication_id  progress    site_name   option  server_connect  server_conn_type    last_download_time  last_upload_time    created log_sent    generation_number   extended_state
1   D           77          TCPIP       00:00.0         0 &lt;BR /&gt;
2   D   1   3005349 77  memory=2m;LockTables=off;FireTriggers=on;SendTriggers=on;SendDownloadACK=OFF;st=on;sa=on;verbose=on;    host=216.183.117.242;port=443;trusted_certificates=C:Program FilesKokoLinkpdsApp3mobilink_public_cert.cer   HTTPS   10:45.2 10:45.2 1879363 3005349 1 &lt;BR /&gt;
&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 15:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842132#M4872975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T15:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842133#M4872976</link>
      <description>&lt;P&gt;The format is un-readable.  Can you edit your post so I can see what values are in which column for each of the two rows in the output?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 15:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842133#M4872976</guid>
      <dc:creator>regdomaratzki</dc:creator>
      <dc:date>2011-06-15T15:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842134#M4872977</link>
      <description>&lt;P&gt;It is in csv format.
How would you like it won't allow me to attach a excell spread sheet&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 17:55:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842134#M4872977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T17:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842135#M4872978</link>
      <description>&lt;P&gt;sync_id type    publication_id  progress    site_name   option  server_connect  server_conn_type    last_download_time  last_upload_time    created log_sent    generation_number   extended_state
1   D           77          TCPIP       00:00.0         0 &lt;BR /&gt;
2   D   1   3005349 77  memory=2m;LockTables=off;FireTriggers=on;SendTriggers=on;SendDownloadACK=OFF;st=on;sa=on;verbose=on;    host=216.183.117.242;port=443;trusted_certificates=C:Program FilesKokoLinkpdsApp3mobilink_public_cert.cer   HTTPS   10:45.2 10:45.2 1879363 3005349 1 &lt;BR /&gt;
&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 18:01:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842135#M4872978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T18:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842136#M4872979</link>
      <description>&lt;P&gt;To attach a file, go up to your original question and click on the "edit" link below the question - This will let you change the text of the question.  Once you do this you should see a row of icons above the text box - "B", "I", "globe", "double quotes", ... "paper clip".  Click on the paper clip - this will then prompt you to select the file that you wish to attached. Browse to select the file and click ok (or attach?) You can then enter a description of your edit (e.g. "attached csv file") and then click "Save edit" button.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 20:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842136#M4872979</guid>
      <dc:creator>MarkCulp</dc:creator>
      <dc:date>2011-06-15T20:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842137#M4872980</link>
      <description>&lt;P&gt;You need a minimum of 100 reputation before you can upload a file.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 20:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842137#M4872980</guid>
      <dc:creator>graeme_perrow</dc:creator>
      <dc:date>2011-06-15T20:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842125#M4872968</link>
      <description>&lt;P&gt;In order to change the MobiLink address for this remote database, you will need to execute the following command :&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;ALTER&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SYNCHRONIZATION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SUBSCRIPTION&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TO&lt;/SPAN&gt; &lt;SPAN class="n"&gt;kokolink&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FOR&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"77"&lt;/SPAN&gt;
  &lt;SPAN class="n"&gt;TYPE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;HTTPS&lt;/SPAN&gt;
  &lt;SPAN class="n"&gt;ADDRESS&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'host=[newIPAddress];&lt;/SPAN&gt;
&lt;SPAN class="s"&gt;           port=443;&lt;/SPAN&gt;
&lt;SPAN class="s"&gt;           trusted_certificates=[fullPath]\\mobilink_public_cert.cer'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;Replace [newIPAddress] with the new ip address of the ML Server, and replace [fullPath] with the full path to your public certificate.&lt;/P&gt;
&lt;P&gt;You will need to execute a different ALTER SYNCHRONIZATION SUBSCRIPTION command on each remote database, since you've defined a different synchronization user at each location.&lt;BR /&gt;
&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2011 09:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842125#M4872968</guid>
      <dc:creator>regdomaratzki</dc:creator>
      <dc:date>2011-06-16T09:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842138#M4872981</link>
      <description>&lt;P&gt;Hello 
I made the change I now get syntax error near 77 on line 1
Also you are saying I will need to create 2000 separate packages to push out this change to each lap top ouch!&lt;/P&gt;
&lt;P&gt;ALTER SYNCHRONIZATION SUBSCRIPTION TO kokolink FOR 77
  TYPE HTTPS
  ADDRESS &lt;A href="http://'host=host=hg.nspirehealth.com"&gt;'host=host=hg.nspirehealth.com&lt;/A&gt;;
           port=443;
           trusted_certificates=c:program fileskokolinkpdsApp3mobilink_public_cert.cer';&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2011 10:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842138#M4872981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-16T10:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842139#M4872982</link>
      <description>&lt;P&gt;AFAIK, userids starting with digits have to be put in double quotes, so try&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="o"&gt;...&lt;/SPAN&gt; &lt;SPAN class="n"&gt;TO&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"77"&lt;/SPAN&gt; &lt;SPAN class="o"&gt;...&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;&lt;A href="http://dcx.sybase.com/index.html#1201/en/dbreference/identifiers-statement-wsqlref.html"&gt;[Source: Identifies definition]&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2011 10:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842139#M4872982</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2011-06-16T10:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842140#M4872983</link>
      <description>&lt;P&gt;That did it!   I had done this before I started the blog and forgot the "77" thanks for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2011 10:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842140#M4872983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-16T10:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842141#M4872984</link>
      <description>&lt;P&gt;Sorry, forgot numeric identifiers needed double quotes.  Thanks Volker.&lt;/P&gt;
&lt;P&gt;You could probably send a single package that creates, then executes and then drops a stored procedure that looks something like (syntax not checked, but you should get the general idea ) :&lt;/P&gt;
&lt;PRE&gt;create procedure ChangeIP () 
begin
  declare @mluser varchar(128);
  declare @newaddr long varchar;
  declare @sql long varchar;
  select site_name into @mluser,
         REPLACE( server_connect,
                  '216.183.117.242', 
                  'new.tcp.ip.addr' ) into @newaddr
    from SYS.SYSSYNC 
   where site_name is not null 
     and publication_id = ( select publication_id 
                              from SYS.SYSPUBLICATION 
                             where publication_name = 'kokolink' );
  set @sql = 'ALTER SYNCHRONIZATION SUBSCRIPTION TO kokolink ';
  set @sql = @sql || 'FOR "' || @mluser || '" ';
  set @sql = @sql || 'TYPE HTTPS ';
  set @sql = @sql || 'ADDRESS ''' || @newaddr || '''';
  message 'EXECUTING : ' || @sql;
  execute immediate @sql;
end;

call ChangeIP();
drop procedure ChangeIP;
&lt;/PRE&gt;

&lt;P&gt;The general idea being that you dynamically figure out the name of the synchronization user that is subscribed to the publication in question, and also get the current address being used, replacing the old IP address with the new IP address.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2011 11:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842141#M4872984</guid>
      <dc:creator>regdomaratzki</dc:creator>
      <dc:date>2011-06-16T11:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alter subscription</title>
      <link>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842142#M4872985</link>
      <description>&lt;P&gt;Executing this procedure manually on the clients works, however when i send this using a passthrough script it generates the following error 
Passthrough script 'test3 failed with SQL code -767. Cannot find synchronization subscription with the name 'imobpub'
Any idea why this only works manually?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 03:40:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alter-subscription/qaa-p/13842142#M4872985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-09T03:40:04Z</dc:date>
    </item>
  </channel>
</rss>

