<?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: tSystem Linux array commands in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348744#M115825</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please try to add the commands as seen below in the Command table?&lt;/P&gt;&lt;P&gt;"sudo chmod 777 /temp/month_end/redemptions/"&lt;/P&gt;&lt;P&gt; "jq -c '.[]' /temp/month_end/redemptions/BillingFile_February_2023_raw.json"&lt;/P&gt;&lt;P&gt;" jq -c '.[]'/temp/month_end/redemptions/BillingFile_February_2023.json"&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 09:40:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-02T09:40:27Z</dc:date>
    <item>
      <title>tSystem Linux array commands</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348741#M115822</link>
      <description>&lt;P&gt;I want to run this command on a tSystem on a Linux box. Note jq is already installed on the Linux box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sudo chmod 777 /temp/month_end/redemptions/ &amp;amp;&amp;amp; jq -c '.[]' /temp/month_end/redemptions/BillingFile_February_2023_raw.json &amp;gt; /temp/month_end/redemptions/BillingFile_February_2023.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Talend can't handle this multiple commands it give a file not found error as mentioned here &lt;A href="https://community.talend.com/s/article/Executing-a-Linux-command-with-a-pipe-using-a-tSystem-component-IOBiH?language=en_US" target="_blank"&gt;https://community.talend.com/s/article/Executing-a-Linux-command-with-a-pipe-using-a-tSystem-component-IOBiH?language=en_US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the correct way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the attached but it still gives the same error&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348741#M115822</guid>
      <dc:creator>MattE</dc:creator>
      <dc:date>2024-11-15T22:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem Linux array commands</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348742#M115823</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As the tSystem component truncates the command at the first space in the file name and you will encounter the following error:&lt;/P&gt;&lt;P&gt;"The system cannot find the specified file".&lt;/P&gt;&lt;P&gt;Could you please check this point as well?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 04:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348742#M115823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-02T04:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem Linux array commands</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348743#M115824</link>
      <description>&lt;P&gt;@Xiaodi Shi​&amp;nbsp;I don't understand what you mean. There are no spaces in the filename, they are &lt;B&gt;BillingFile_February_2023_raw.json&lt;/B&gt; and &lt;B&gt;BillingFile_February_2023.json&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 09:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348743#M115824</guid>
      <dc:creator>MattE</dc:creator>
      <dc:date>2023-03-02T09:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem Linux array commands</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348744#M115825</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please try to add the commands as seen below in the Command table?&lt;/P&gt;&lt;P&gt;"sudo chmod 777 /temp/month_end/redemptions/"&lt;/P&gt;&lt;P&gt; "jq -c '.[]' /temp/month_end/redemptions/BillingFile_February_2023_raw.json"&lt;/P&gt;&lt;P&gt;" jq -c '.[]'/temp/month_end/redemptions/BillingFile_February_2023.json"&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 09:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348744#M115825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-02T09:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem Linux array commands</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348745#M115826</link>
      <description>&lt;P&gt;I see what you mean. Unfortunately the full 2nd command needs to be &lt;B&gt;jq -c '.[]' /temp/month_end/redemptions/BillingFile_February_2023_raw.json &amp;gt; /temp/month_end/redemptions/BillingFile_February_2023.json&lt;/B&gt; this is because the jq app is transforming the first file and sending the output to the second file . I've tried the below configuration but get the file not found error. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000ddZvfAAE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157954iCF39E22E16BAFF0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000ddZvfAAE.png" alt="0695b00000ddZvfAAE.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 10:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-Linux-array-commands/m-p/2348745#M115826</guid>
      <dc:creator>MattE</dc:creator>
      <dc:date>2023-03-02T10:23:06Z</dc:date>
    </item>
  </channel>
</rss>

