<?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>topic Re: EG custom add-in: ISASTaskSubmit.SubmitCode function in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-custom-add-in-ISASTaskSubmit-SubmitCode-function/m-p/1611#M516</link>
    <description>In your class you must implement the ISASTaskSubmitSink interface, which has just one method to implement: SubmitComplete.  That will provide you with the SAS log and an indication of success.&lt;BR /&gt;
&lt;BR /&gt;
The VB.NET function signature looks like this:&lt;BR /&gt;
&lt;BR /&gt;
Sub SubmitComplete( _&lt;BR /&gt;
   ByVal Cookie As Integer, _&lt;BR /&gt;
   ByVal Success As Boolean, _&lt;BR /&gt;
   ByVal Log As String _&lt;BR /&gt;
)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
    <pubDate>Mon, 23 Oct 2006 20:57:31 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2006-10-23T20:57:31Z</dc:date>
    <item>
      <title>EG custom add-in: ISASTaskSubmit.SubmitCode function</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-custom-add-in-ISASTaskSubmit-SubmitCode-function/m-p/1610#M515</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I'm doing a EG custom add-in development and would like to know how to get the status of submitted SAS code when I use the SubmitCode function asynchronously in SAS.Shared.AddIns.ISASTaskSubmit library.&lt;BR /&gt;
&lt;BR /&gt;
Function SubmitCode(ByVal Code As String, ByVal Server As String, ByVal Async As Boolean) As Integer&lt;BR /&gt;
     Member of: SAS.Shared.AddIns.ISASTaskSubmit&lt;BR /&gt;
&lt;BR /&gt;
The return value of this function is the "cookie" identifier for the job that is submitted, but there's no explanation on how to check whether the code ran fine or an error had occured.&lt;BR /&gt;
&lt;BR /&gt;
Any help is appreciated!&lt;BR /&gt;
Thanks</description>
      <pubDate>Mon, 23 Oct 2006 14:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-custom-add-in-ISASTaskSubmit-SubmitCode-function/m-p/1610#M515</guid>
      <dc:creator>SGunawan</dc:creator>
      <dc:date>2006-10-23T14:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: EG custom add-in: ISASTaskSubmit.SubmitCode function</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-custom-add-in-ISASTaskSubmit-SubmitCode-function/m-p/1611#M516</link>
      <description>In your class you must implement the ISASTaskSubmitSink interface, which has just one method to implement: SubmitComplete.  That will provide you with the SAS log and an indication of success.&lt;BR /&gt;
&lt;BR /&gt;
The VB.NET function signature looks like this:&lt;BR /&gt;
&lt;BR /&gt;
Sub SubmitComplete( _&lt;BR /&gt;
   ByVal Cookie As Integer, _&lt;BR /&gt;
   ByVal Success As Boolean, _&lt;BR /&gt;
   ByVal Log As String _&lt;BR /&gt;
)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Mon, 23 Oct 2006 20:57:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG-custom-add-in-ISASTaskSubmit-SubmitCode-function/m-p/1611#M516</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2006-10-23T20:57:31Z</dc:date>
    </item>
  </channel>
</rss>

