<?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: How do I execute this command in Talend? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510307#M141863</link>
    <description>&lt;P&gt;I have tried your solution, but I can not figure it out to make it work. I guess that you provided a ssh command, so I have to use tSSH component. However, when I put the command in there it does not work. Could you please me show a screenshot of the component filled with the command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
    <pubDate>Mon, 17 Mar 2025 15:02:03 GMT</pubDate>
    <dc:creator>isma123i</dc:creator>
    <dc:date>2025-03-17T15:02:03Z</dc:date>
    <item>
      <title>How do I execute this command in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510282#M141859</link>
      <description>&lt;P&gt;I need to execute this command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;QUOTE RCMD SBMJOB CMD(CALL PGM(EUROBJ97/J667508) PARM('parameter1' 'parameter2')) JOBQ(ECOREDD)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a tSystem component, but I am not sure how do I have to authenticate to the AS400 machine. Could anyone help me?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 13:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510282#M141859</guid>
      <dc:creator>isma123i</dc:creator>
      <dc:date>2025-03-17T13:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I execute this command in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510292#M141860</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/306401"&gt;@isma123i&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to use tSystem you could set the Command as :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ssh USER@AS400_HOST "QUOTE RCMD SBMJOB CMD(CALL PGM(EUROBJ97/J667508) PARM('parameter1' 'parameter2')) JOBQ(ECOREDD)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you could also use tAS400Row to execute stored procedure without the need to go through system commands.&lt;/P&gt;&lt;P&gt;Let me know if you still need help&lt;/P&gt;&lt;P&gt;- Quentin&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 14:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510292#M141860</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2025-03-17T14:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I execute this command in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510307#M141863</link>
      <description>&lt;P&gt;I have tried your solution, but I can not figure it out to make it work. I guess that you provided a ssh command, so I have to use tSSH component. However, when I put the command in there it does not work. Could you please me show a screenshot of the component filled with the command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 15:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510307#M141863</guid>
      <dc:creator>isma123i</dc:creator>
      <dc:date>2025-03-17T15:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I execute this command in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510315#M141864</link>
      <description>&lt;P&gt;The solution I gave you was for a tSystem component.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inside it there is a section called "Command", type the command&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quentinvigne_0-1742224227882.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178685iC3C0C7A249E83AE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="quentinvigne_0-1742224227882.png" alt="quentinvigne_0-1742224227882.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;use "ssh &lt;A href="mailto:USER@AS400_HOST&amp;quot;" target="_blank"&gt;USER@AS400_HOST"&lt;/A&gt;&amp;nbsp;to connect to your AS400 server, replace USER and&amp;nbsp;@AS400_HOST to your username and host. If your server doesn't allow SSH connection you will have to use tAS400 components&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 15:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510315#M141864</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2025-03-17T15:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I execute this command in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510339#M141865</link>
      <description>&lt;P&gt;Thanks again, but I still have the same error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tSystem_2 Cannot run program "ssh": CreateProcess error=2, The system cannot find the file specified&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.io.IOException: Cannot run program "ssh": CreateProcess error=2, The system cannot find the file specified&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going to give a try to the tAS400row component, but as far as I know this component will ask me for a sql query instead of a command, right?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 15:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510339#M141865</guid>
      <dc:creator>isma123i</dc:creator>
      <dc:date>2025-03-17T15:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I execute this command in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510351#M141867</link>
      <description>&lt;P&gt;Maybe you need to add SSH to Path so that Talend know where to look for (since you have a new computer maybe it's not in Path).&amp;nbsp;Press Win + R, type sysdm.cpl, and press &lt;STRONG&gt;Enter&lt;/STRONG&gt;. Go to advanced and environment variables and edit Path to check if SSH is in your path. If not, add it and try again&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quentinvigne_0-1742227809880.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178694iB62B22B47AD1A80D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="quentinvigne_0-1742227809880.png" alt="quentinvigne_0-1742227809880.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if the user doesnt have access you might want to use su username -c to use the correct user.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"su &amp;lt;&amp;lt;username&amp;gt;&amp;gt; -c 'ssh USER@AS400_HOST "QUOTE RCMD SBMJOB CMD(CALL PGM(EUROBJ97/J667508) PARM('parameter1' 'parameter2')) JOBQ(ECOREDD)'"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively yes you can use tSSH component if you don't want to type the ssh like this by setting up the tSSH component like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quentinvigne_1-1742228790327.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178695i46EF570A1180F2F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="quentinvigne_1-1742228790327.png" alt="quentinvigne_1-1742228790327.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for tAS400Row, yes it's going to ask for a SQL Query, but if I remember well you can call SBMJOB from the query tab with the &lt;STRONG&gt;CALL QSYS&amp;nbsp;&lt;/STRONG&gt;function.&lt;/P&gt;&lt;LI-CODE lang="java"&gt;CALL QSYS.QCMDEXC('SBMJOB CMD(CALL PGM(EUROBJ97/J667508) PARM(''parameter1'' ''parameter2'')) JOBQ(ECOREDD)', 0000000100.00000)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to provide the length, I used this website to help me :&amp;nbsp;&lt;A href="https://www.rpgpgm.com/2017/02/why-i-should-be-using-qcmdexc-sql.html" target="_blank" rel="noopener"&gt;https://www.rpgpgm.com/2017/02/why-i-should-be-using-qcmdexc-sql.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Quentin&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 16:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510351#M141867</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2025-03-17T16:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I execute this command in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510475#M141871</link>
      <description>&lt;P&gt;My ssh path exists, but it does not work anyways. I also tried the tAS400row, just like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9XazEbO - Imgur.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178725i12DFF121798402F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="9XazEbO - Imgur.png" alt="9XazEbO - Imgur.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I get this error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Error&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;2025-03-18 11:44:13:584&lt;/SPAN&gt;&lt;SPAN class=""&gt;tDBRow_2 - [CPF0006] Errors occurred in command.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 11:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510475#M141871</guid>
      <dc:creator>isma123i</dc:creator>
      <dc:date>2025-03-18T11:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I execute this command in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510498#M141873</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/306401"&gt;@isma123i&lt;/a&gt;&amp;nbsp;Have you tried the tSSH component ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe try with QSYS2 alternative ? Please copy and paste the solution since we are using doubled single quotes and not double quotes.&lt;/P&gt;&lt;LI-CODE lang="java"&gt;"CALL QSYS2.QCMDEX('SBMJOB CMD(CALL PGM(EUROBJ94/J557408B) PARM(''P557408'',''EUR0001'')) JOBQ(ECOREDD)')"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 13:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510498#M141873</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2025-03-18T13:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I execute this command in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510528#M141875</link>
      <description>&lt;P&gt;Yes, I tried the tSSH component&lt;/P&gt;&lt;P&gt;Now I get this error when I run your last solution with QSYS2 alternative:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2025-03-18 15:59:22:242&lt;/SPAN&gt;&lt;SPAN class=""&gt;tDBRow_2 - [SQL0204] QCMDEX in QSYS2 type *N not found.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 15:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510528#M141875</guid>
      <dc:creator>isma123i</dc:creator>
      <dc:date>2025-03-18T15:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I execute this command in Talend?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510623#M141877</link>
      <description>&lt;P&gt;Do you know what IBM version you use ? If it's 7.1 or lower QSYS2 doesn't exist and we have to use QSYS (which need cmd lenght) can you try copy and pasting this ? I can't see a reason it won't work&lt;/P&gt;&lt;LI-CODE lang="java"&gt;"CALL QSYS.QCMDEXC('SBMJOB CMD(CALL PGM(EUROBJ94/J557408B) PARM(''P557408'',''EUR0001'')) JOBQ(ECOREDD)', 0000000088.00000)"&lt;/LI-CODE&gt;&lt;P&gt;The second parameter is the number of characters, including spaces between the single quotes in the SBMJOB command, which in this case is 88. If you need to change something in your command, please recount the character or it will not work.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;The second parameter must contain exactly 15 digits: ten to the left of the decimal and five to the right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Quentin&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 08:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-execute-this-command-in-Talend/m-p/2510623#M141877</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2025-03-19T08:17:09Z</dc:date>
    </item>
  </channel>
</rss>

