<?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: problems getting output from MSSql stored procedure (pass parameters) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/problems-getting-output-from-MSSql-stored-procedure-pass/m-p/2216993#M12769</link>
    <description>strpdsnk, I see this is an old post, but your image 4 has your full connection details in the screenshot.</description>
    <pubDate>Tue, 30 Nov 2010 14:41:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-11-30T14:41:51Z</dc:date>
    <item>
      <title>problems getting output from MSSql stored procedure (pass parameters)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problems-getting-output-from-MSSql-stored-procedure-pass/m-p/2216991#M12767</link>
      <description>I am trying to execute a MSSql SP from Talend, that needs a parameter declared, but I am having some trouble with it. 
&lt;BR /&gt;What I want to do is send the, needed, date parameter with the SP to SQL and then return the results of that SP to Talend 
&lt;BR /&gt; 
&lt;BR /&gt;This is what the command looks like that I run in MS SQL Server Management Studio (see pic #1) 
&lt;BR /&gt; 
&lt;PRE&gt;EXECUTE .. '08-22-08'&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;U&gt;&lt;B&gt;tMap --&amp;gt; tMSSqlSP&lt;/B&gt;&lt;/U&gt; 
&lt;BR /&gt;-I get no output from tMSSqlSP 
&lt;BR /&gt;-see pics 2 &amp;amp; 3 
&lt;BR /&gt;-output: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job AnalysisInstrumentList at 17:00 25/08/2008.&lt;BR /&gt; |&lt;BR /&gt;Job AnalysisInstrumentList ended at 17:00 25/08/2008. &lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt; 
&lt;U&gt;&lt;B&gt;tRowGenerator --&amp;gt; tMSSqlSP --&amp;gt; OUT&lt;/B&gt;&lt;/U&gt; 
&lt;BR /&gt;-see pics 4 &amp;amp; 6 
&lt;BR /&gt;-output: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job AnalysisInstrumentList at 18:05 25/08/2008.&lt;BR /&gt;Exception in component tMSSqlSP_1&lt;BR /&gt;java.sql.SQLException: Procedure or function spAnalyticDataExtractForODY has too many arguments specified.&lt;BR /&gt; at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:365)&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2781)&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2224)&lt;BR /&gt; at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:628)&lt;BR /&gt; at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:525)&lt;BR /&gt; at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:487)&lt;BR /&gt; at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.execute(JtdsPreparedStatement.java:478)&lt;BR /&gt; at batches_and_scripts.analysisinstrumentlist_0_1.AnalysisInstrumentList.tRowGenerator_1Process(AnalysisInstrumentList.java:567)&lt;BR /&gt; at batches_and_scripts.analysisinstrumentlist_0_1.AnalysisInstrumentList.runJobInTOS(AnalysisInstrumentList.java:3268)&lt;BR /&gt; at batches_and_scripts.analysisinstrumentlist_0_1.AnalysisInstrumentList.main(AnalysisInstrumentList.java:3176)&lt;BR /&gt;Job AnalysisInstrumentList ended at 18:05 25/08/2008. &lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt; 
&lt;U&gt;&lt;B&gt;tRowGenerator --&amp;gt; tMSSqlSP --&amp;gt; RECORD SET&lt;/B&gt;&lt;/U&gt; 
&lt;BR /&gt;-I get no output from tMSSqlSP 
&lt;BR /&gt;-see pics 5 &amp;amp; 6 
&lt;BR /&gt;-output: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job AnalysisInstrumentList at 18:03 25/08/2008.&lt;BR /&gt; 08-25-08||&lt;BR /&gt;Job AnalysisInstrumentList ended at 18:03 25/08/2008. &lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Related to topics: 
&lt;BR /&gt;2706 
&lt;BR /&gt;1579</description>
      <pubDate>Sat, 16 Nov 2024 14:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problems-getting-output-from-MSSql-stored-procedure-pass/m-p/2216991#M12767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: problems getting output from MSSql stored procedure (pass parameters)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problems-getting-output-from-MSSql-stored-procedure-pass/m-p/2216992#M12768</link>
      <description>I figured out how to do it with another component, BUT I'd still like to know how to use the tMSSqlSP component to get the same results
&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;U&gt;tMSSqlInput&lt;/U&gt;&lt;/B&gt;
&lt;U&gt;&lt;/U&gt;
&lt;BR /&gt;-this worked, returning the data, row by row
&lt;BR /&gt;-query statement: 
&lt;BR /&gt;
&lt;PRE&gt;"EXECUTE .. '" + TalendDate.getDate("MM-DD-YY") + "'"&lt;/PRE&gt;
&lt;BR /&gt;-output: 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Starting job AnalysisInstrumentList at 18:22 25/08/2008.&lt;BR /&gt; connecting to socket on port 3926&lt;BR /&gt; connected&lt;BR /&gt; SET DATEFORMAT MM-DD-YYYY&lt;BR /&gt; SET DATAFORMAT DELIMITED&lt;BR /&gt; SET SEPARATOR ;&lt;BR /&gt; SET THOUSAND ,&lt;BR /&gt; SET AUTOMATIC instrument ON&lt;BR /&gt; SET CODIFICATION instrument RESEARCH_TICKER&lt;BR /&gt; &lt;BR /&gt; REM DMA Analytic Data Native Import File&lt;BR /&gt; &lt;BR /&gt; CMD UPDINS instr_chrono&lt;BR /&gt; ATT instr nature_e third_party sub_nat_type validity_d value_n currency&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt; disconnected&lt;BR /&gt;Job AnalysisInstrumentList ended at 18:22 25/08/2008. &lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 25 Aug 2008 23:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problems-getting-output-from-MSSql-stored-procedure-pass/m-p/2216992#M12768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-25T23:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: problems getting output from MSSql stored procedure (pass parameters)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/problems-getting-output-from-MSSql-stored-procedure-pass/m-p/2216993#M12769</link>
      <description>strpdsnk, I see this is an old post, but your image 4 has your full connection details in the screenshot.</description>
      <pubDate>Tue, 30 Nov 2010 14:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/problems-getting-output-from-MSSql-stored-procedure-pass/m-p/2216993#M12769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-30T14:41:51Z</dc:date>
    </item>
  </channel>
</rss>

