<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>BMC Communities: Message List - Control-M issue with writing to another server</title>
    <link>http://communities.bmc.com/communities/community/bmcdn/resources/operations_management?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Wed, 03 Dec 2008 20:22:54 GMT</pubDate>
    <generator>Clearspace 2.5.15 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2008-12-03T20:22:54Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Control-M issue with writing to another server</title>
      <link>http://communities.bmc.com/communities/message/84683?tstart=0#84683</link>
      <description>&lt;!-- [DocumentBodyStart:d94ae385-6b3c-40be-ae2d-18167a2105c6] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;&lt;span&gt;Ok I have some new information. I put error handling in the code and found that when control m runs the batch script which kicks off the application, i get Error 75 in Visual Basic which means "Path/File Access Error".&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;However, when I run the batch script manually, I do not get this error at all. &lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;I am logged in as user JANE and control m is running the batch script from user JANE as well.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;What would cause this file access error when control m runs the job?&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d94ae385-6b3c-40be-ae2d-18167a2105c6] --&gt;</description>
      <pubDate>Wed, 03 Dec 2008 20:22:54 GMT</pubDate>
      <author>forums@developer.bmc.com</author>
      <guid>http://communities.bmc.com/communities/message/84683?tstart=0#84683</guid>
      <dc:date>2008-12-03T20:22:54Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Control-M issue with writing to another server</title>
      <link>http://communities.bmc.com/communities/message/83504?tstart=0#83504</link>
      <description>&lt;!-- [DocumentBodyStart:c92a2c1e-5207-4e8d-b185-aa2b30b03ee1] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;what you use to copy files to another server ? ssh, ftp, mapped drives ? what about authentication ?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:c92a2c1e-5207-4e8d-b185-aa2b30b03ee1] --&gt;</description>
      <pubDate>Wed, 12 Nov 2008 08:22:56 GMT</pubDate>
      <author>rastislav_danis@tempest.sk</author>
      <guid>http://communities.bmc.com/communities/message/83504?tstart=0#83504</guid>
      <dc:date>2008-11-12T08:22:56Z</dc:date>
      <clearspace:dateToText>1 year, 1 week ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Control-M issue with writing to another server</title>
      <link>http://communities.bmc.com/communities/message/83502?tstart=0#83502</link>
      <description>&lt;!-- [DocumentBodyStart:f255ebca-7054-4842-9bc6-6a22af8c1208] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;&lt;span&gt;Things I would check are:&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Does CONTROL-M actually correctly log on as JANE?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp; You could run a test job for this;&amp;nbsp; tasktype Command,&amp;nbsp; command line:&amp;nbsp; whoami&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;If that checks out; does the VB exe have any error handling in it? It sounds like it doesn't... &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;The commands that copy the .jpg file are probably returning errors, but if the VB exe doesn't catch these you have no way of knowing what's going wrong.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;If it's an exe you developed, make sure you catch any exceptions and negative return codes from those copy commands.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;--Michiel&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f255ebca-7054-4842-9bc6-6a22af8c1208] --&gt;</description>
      <pubDate>Wed, 12 Nov 2008 08:17:56 GMT</pubDate>
      <author>forums@developer.bmc.com</author>
      <guid>http://communities.bmc.com/communities/message/83502?tstart=0#83502</guid>
      <dc:date>2008-11-12T08:17:56Z</dc:date>
      <clearspace:dateToText>1 year, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Control-M issue with writing to another server</title>
      <link>http://communities.bmc.com/communities/message/83312?tstart=0#83312</link>
      <description>&lt;!-- [DocumentBodyStart:65c37e80-654b-4fb4-81f3-51c85b45e32f] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;I have a server ABCD that uses control-m to run a vb .exe file once a week. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What the VB .exe does: this exe file looks at the database server ABCD is connected to, it then looks at a table for .jpg information, and then moves certain .jpg files to another server called XYZ.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When control-m runs the job it starts and completes sucessfully. I can also see the application running on server ABCD and then I see it completing sucessfully. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;HOWEVER, the vb app is not actually performing the move of the .jpg files to server XYZ. The job completes sucessfully but no new .jpg files appear on server XYZ.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now, when i run the vb app manually from the specified folder that control-m uses, the VB app actually works and the .jpg files get moved to XYZ. &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I originally thought this was a user issue because I am signed onto server ABCD as "JANE" and the control-m job is using user "BOB" to run the vb .exe. I tested this theory out though and when the control-m uses "JANE" to run the vb app, it looks like it runs and completes sucessfully but still no jpg's get written to server XYZ.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So in short, the jpgs from this VB app get written to server XYZ if i run the app manually on the server and not through control m.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Comments? Things to try? Thanks.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:65c37e80-654b-4fb4-81f3-51c85b45e32f] --&gt;</description>
      <pubDate>Fri, 07 Nov 2008 19:41:45 GMT</pubDate>
      <author>forums@developer.bmc.com</author>
      <guid>http://communities.bmc.com/communities/message/83312?tstart=0#83312</guid>
      <dc:date>2008-11-07T19:41:45Z</dc:date>
      <clearspace:dateToText>1 year, 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
  </channel>
</rss>

