<?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: tGlobalVar --&amp;gt; tOracleSP in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332918#M101751</link>
    <description>I have already done this test, the variables return the expected values.&lt;BR /&gt; when I use the syntax to retrieve the value of global variable, it gets null.&lt;BR /&gt; Thus, in the tOracleSP, I create a varaible var_tOSP = ((string) globalMap.get (var_GV)). After execution: var_tOSP = NULL.&lt;BR /&gt; but if: var_tOSP = row.var_tffi, After execution: var_tOSP = value</description>
    <pubDate>Tue, 30 Aug 2011 14:07:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-08-30T14:07:35Z</dc:date>
    <item>
      <title>tGlobalVar --&gt; tOracleSP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332910#M101743</link>
      <description>Hello, 
&lt;BR /&gt; My problem is: 
&lt;BR /&gt; I have more tOracleSP in a job. with the same input parameter. 
&lt;BR /&gt; I set these parameters as global variables in the tGlobalVar. 
&lt;BR /&gt; In tOracleSP, I use the values of these variables as follows: 
&lt;BR /&gt; ((String) globalMap.get ("var_GV")). ToString ()). 
&lt;BR /&gt; After testing, these variables take the expected values. 
&lt;BR /&gt; The tOracleSP can not run the stored procedure with these variables. 
&lt;BR /&gt; But when I use a tfixedFloxInput to pass variables to tOracleSP, it works well. but I have to use the following syntax: 
&lt;BR /&gt; row.var_tffi. 
&lt;BR /&gt; The objective of tGlobalvar is to use global variables in all the job. 
&lt;BR /&gt; Thank you for your help.</description>
      <pubDate>Sat, 16 Nov 2024 12:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332910#M101743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: tGlobalVar --&gt; tOracleSP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332911#M101744</link>
      <description>Hi,&lt;BR /&gt;Please, could you attach the screenshot of the job please.&lt;BR /&gt;Best regards,&lt;BR /&gt;GAT</description>
      <pubDate>Tue, 30 Aug 2011 09:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332911#M101744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T09:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: tGlobalVar --&gt; tOracleSP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332912#M101745</link>
      <description>You can clic on "post reply" and add a screenshot.</description>
      <pubDate>Tue, 30 Aug 2011 09:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332912#M101745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T09:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: tGlobalVar --&gt; tOracleSP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332913#M101746</link>
      <description>Hi 
&lt;BR /&gt;You have to use a input component like tFixedFlowInput to pass the variables as input parameters to tOracleSP component if the SP requires input parameters, the job looks like: 
&lt;BR /&gt;tFileInputDelimited--main--tGlobalVar 
&lt;BR /&gt; | 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt; | 
&lt;BR /&gt;tFixedFlowInput--main--tOracleSP--tLogRow 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 30 Aug 2011 09:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332913#M101746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T09:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: tGlobalVar --&gt; tOracleSP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332914#M101747</link>
      <description>I can not add the screenshot. here's an example of a part of my job. 
&lt;BR /&gt;tFixedFloxInput1---&amp;gt;main---&amp;gt;tGlobalVar---&amp;gt;tOracleSP1 
&lt;BR /&gt;| 
&lt;BR /&gt;OnsubjobOK 
&lt;BR /&gt;| 
&lt;BR /&gt;tFixedFloxInput2---&amp;gt;main---&amp;gt;tOracleSP2_____onComponentOK____tFixedFloxInput3---&amp;gt;main---&amp;gt;tOracleSP3 
&lt;BR /&gt;| 
&lt;BR /&gt;tFixedFloxInput4---&amp;gt;main---&amp;gt;tOracleSP4_____onComponentOK____tFixedFloxInput5---&amp;gt;main---&amp;gt;tOracleSP5 
&lt;BR /&gt;. 
&lt;BR /&gt;. 
&lt;BR /&gt;. 
&lt;BR /&gt;I already use the solution proposed by Shong, but I think there are better in Talend. 
&lt;BR /&gt;Thank you</description>
      <pubDate>Tue, 30 Aug 2011 10:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332914#M101747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T10:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: tGlobalVar --&gt; tOracleSP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332915#M101748</link>
      <description>Hi, 
&lt;BR /&gt;You are not able to load the screenshot because of its size or dimension. 
&lt;BR /&gt;But not to bad your description allows me to give you my opinion. 
&lt;BR /&gt;You have omitted the important part of the job. I think, you have link tSetGlobalVar to tOracleSP with the row main link. 
&lt;BR /&gt;You must be aware that, in a subjob, the begin parts of each component is initialized in reverse order and after the main parts after and the end one 
&lt;BR /&gt;begin of all components in reverse order 
&lt;BR /&gt; | 
&lt;BR /&gt; | 
&lt;BR /&gt; v 
&lt;BR /&gt;main of all components of the subjob 
&lt;BR /&gt; | 
&lt;BR /&gt; | 
&lt;BR /&gt; v 
&lt;BR /&gt;end of all component 
&lt;BR /&gt; 
&lt;BR /&gt;so the begin part of tOracleSP component will be initialized before the main part of the tSetGlobalVar component (this component has only main part) 
&lt;BR /&gt;in which the global variable is set. 
&lt;BR /&gt;So for tFixedFloxInput1---&amp;gt;main---&amp;gt;tGlobalVar---&amp;gt;tOracleSP1 you nedd to use in tOracleSP1 
&lt;BR /&gt;row_name.col_name to set parameter 
&lt;BR /&gt;and only in the subjob (for the others tOracleSP2, ...), you can use the ((String)globalMap.get("myKey")) 
&lt;BR /&gt;Best regards, 
&lt;BR /&gt;GAT</description>
      <pubDate>Tue, 30 Aug 2011 10:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332915#M101748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T10:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: tGlobalVar --&gt; tOracleSP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332916#M101749</link>
      <description>Hi GAT, 
&lt;BR /&gt;I could not give more details about my job. but everything you said is already in place. 
&lt;BR /&gt;Here is an overview of the details with a single variable: 
&lt;BR /&gt;tFixedFloxInput1---&amp;gt;main---&amp;gt;tGlobalVar-----&amp;gt;main-------&amp;gt;tOracleSP1 
&lt;BR /&gt;var_tffi1----------------------&amp;gt;var_GV1=var_tffi1-----------&amp;gt; var_tOSP =row.var_tffi1 
&lt;BR /&gt;| 
&lt;BR /&gt;OnsubjobOK 
&lt;BR /&gt;| 
&lt;BR /&gt;tFixedFloxInput2 ----------&amp;gt;main-----&amp;gt;tOracleSP2 ______onComponentOK____tFixedFloxInput3------------------&amp;gt;main------------------&amp;gt;tOracleSP3 
&lt;BR /&gt;var_tffi2=((String)globalMap.get("var_GV1"))----------------------&amp;gt;row.var_tffi2________________________var_tffi3=((String)globalMap.get("var_GV1"))----------&amp;gt;row.var_tffi3 
&lt;BR /&gt;| 
&lt;BR /&gt;OnsubjobOK 
&lt;BR /&gt;| 
&lt;BR /&gt;tFixedFloxInput4 ---------&amp;gt;main---------&amp;gt;tOracleSP4 ______onComponentOK____tFixedFloxInput5---------------&amp;gt;main--------------------&amp;gt;tOracleSP5 
&lt;BR /&gt;var_tffi4=((String)globalMap.get("var_GV1"))--------------------------&amp;gt;row.var_tffi4________________________var_tffi5=((String)globalMap.get("var_GV1"))-------------&amp;gt;row.var_tffi5 
&lt;BR /&gt; 
&lt;BR /&gt;. 
&lt;BR /&gt;. 
&lt;BR /&gt;. 
&lt;BR /&gt;However , I will wish to make is that in all tOraclePS put the value of the global variable in tOracleSP2 
&lt;BR /&gt;example : var_tOSP2 = ((String) globalMap.get ("var_GV1")) 
&lt;BR /&gt;Thank you</description>
      <pubDate>Tue, 30 Aug 2011 12:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332916#M101749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T12:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: tGlobalVar --&gt; tOracleSP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332917#M101750</link>
      <description>After the first subjob, you can test that the contains of your variable is correct :
&lt;BR /&gt;with tJava component before use the variable.
&lt;BR /&gt;tFixedFloxInput1---&amp;gt;main---&amp;gt;tGlobalVar-----&amp;gt;main-------&amp;gt;tOracleSP1
&lt;BR /&gt;var_tffi1----------------------&amp;gt;var_GV1=var_tffi1-----------&amp;gt; var_tOSP =row.var_tffi1
&lt;BR /&gt;|
&lt;BR /&gt;OnsubjobOK
&lt;BR /&gt;|
&lt;BR /&gt;tJava : System.out.println(((String)globalMap.get("var_GV1")))
&lt;BR /&gt;
&lt;BR /&gt;Regards,
&lt;BR /&gt;GAT</description>
      <pubDate>Tue, 30 Aug 2011 13:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332917#M101750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T13:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: tGlobalVar --&gt; tOracleSP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332918#M101751</link>
      <description>I have already done this test, the variables return the expected values.&lt;BR /&gt; when I use the syntax to retrieve the value of global variable, it gets null.&lt;BR /&gt; Thus, in the tOracleSP, I create a varaible var_tOSP = ((string) globalMap.get (var_GV)). After execution: var_tOSP = NULL.&lt;BR /&gt; but if: var_tOSP = row.var_tffi, After execution: var_tOSP = value</description>
      <pubDate>Tue, 30 Aug 2011 14:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332918#M101751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T14:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: tGlobalVar --&gt; tOracleSP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332919#M101752</link>
      <description>the screenshot</description>
      <pubDate>Tue, 30 Aug 2011 17:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGlobalVar-gt-tOracleSP/m-p/2332919#M101752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T17:40:29Z</dc:date>
    </item>
  </channel>
</rss>

