<?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 to delete data on a table (AS400) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265397#M44951</link>
    <description>....&lt;BR /&gt;I've tied with a "input" As400 component and it's work (that delete data) but return a alert from java :&lt;BR /&gt;&lt;PRE&gt;Exception in component tAS400Input_1&lt;BR /&gt;java.sql.SQLException: Cursor state not valid.&lt;BR /&gt;	at com.ibm.as400.access.JDError.throwSQLException(JDError.java:389)&lt;BR /&gt;	at com.ibm.as400.access.JDError.throwSQLException(JDError.java:366)&lt;BR /&gt;	at com.ibm.as400.access.AS400JDBCStatement.executeQuery(AS400JDBCStatement.java:1956)&lt;BR /&gt;	at test.delete_data_database_0_1.DELETE_DATA_DATABASE.tAS400Input_1Process(DELETE_DATA_DATABASE.java:172)&lt;BR /&gt;	at test.delete_data_database_0_1.DELETE_DATA_DATABASE.runJobInTOS(DELETE_DATA_DATABASE.java:348)&lt;BR /&gt;	at test.delete_data_database_0_1.DELETE_DATA_DATABASE.main(DELETE_DATA_DATABASE.java:240)&lt;/PRE&gt;&lt;BR /&gt;if i have to use a " onsubjobOk" it will never work for the next component.!?&lt;BR /&gt;an idea for this exception !?</description>
    <pubDate>Fri, 03 Oct 2008 13:46:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-10-03T13:46:41Z</dc:date>
    <item>
      <title>how to delete data on a table (AS400)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265396#M44950</link>
      <description>hi,
&lt;BR /&gt;i'm trying to delete all data on a table but it doesn't work.
&lt;BR /&gt;I just use a "tAS400Ouput" whith context param and choice "delete" option from "action on data" menu.
&lt;BR /&gt;and nothing appened ...
&lt;BR /&gt;If i look to the source the SQL syntaxe is :
&lt;BR /&gt;
&lt;PRE&gt;java.sql.PreparedStatement pstmt_tAS400Output_1 = conn_tAS400Output_1&lt;BR /&gt;					.prepareStatement("DELETE FROM " + "LANDMUCTIS" + " WHERE ");&lt;/PRE&gt;
&lt;BR /&gt;I only want to do :
&lt;BR /&gt;
&lt;PRE&gt;java.sql.PreparedStatement pstmt_tAS400Output_1 = conn_tAS400Output_1&lt;BR /&gt;					.prepareStatement("DELETE FROM " + "LANDMUCTIS");&lt;/PRE&gt;
&lt;BR /&gt;How can i change this !??
&lt;BR /&gt;Perhaps I have to add component to my job !?
&lt;BR /&gt;thank for your help</description>
      <pubDate>Sat, 16 Nov 2024 14:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265396#M44950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete data on a table (AS400)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265397#M44951</link>
      <description>....&lt;BR /&gt;I've tied with a "input" As400 component and it's work (that delete data) but return a alert from java :&lt;BR /&gt;&lt;PRE&gt;Exception in component tAS400Input_1&lt;BR /&gt;java.sql.SQLException: Cursor state not valid.&lt;BR /&gt;	at com.ibm.as400.access.JDError.throwSQLException(JDError.java:389)&lt;BR /&gt;	at com.ibm.as400.access.JDError.throwSQLException(JDError.java:366)&lt;BR /&gt;	at com.ibm.as400.access.AS400JDBCStatement.executeQuery(AS400JDBCStatement.java:1956)&lt;BR /&gt;	at test.delete_data_database_0_1.DELETE_DATA_DATABASE.tAS400Input_1Process(DELETE_DATA_DATABASE.java:172)&lt;BR /&gt;	at test.delete_data_database_0_1.DELETE_DATA_DATABASE.runJobInTOS(DELETE_DATA_DATABASE.java:348)&lt;BR /&gt;	at test.delete_data_database_0_1.DELETE_DATA_DATABASE.main(DELETE_DATA_DATABASE.java:240)&lt;/PRE&gt;&lt;BR /&gt;if i have to use a " onsubjobOk" it will never work for the next component.!?&lt;BR /&gt;an idea for this exception !?</description>
      <pubDate>Fri, 03 Oct 2008 13:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265397#M44951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-03T13:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete data on a table (AS400)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265398#M44952</link>
      <description>try with a tAS400Row with the right sql query</description>
      <pubDate>Fri, 03 Oct 2008 13:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265398#M44952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-03T13:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete data on a table (AS400)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265399#M44953</link>
      <description>hi,
&lt;BR /&gt;error message has changed ( it's not a java exception ... looks better so)
&lt;BR /&gt;It's seems to be a "problem" with operation I can do with the data and the table ...
&lt;BR /&gt;in french in the "error" text
&lt;BR /&gt;
&lt;PRE&gt; Table LANDMUCTIS de TLMBIB incorrecte pour cette opération.&lt;/PRE&gt;
&lt;BR /&gt;but the code is Ok
&lt;BR /&gt;thanks for your help</description>
      <pubDate>Fri, 03 Oct 2008 17:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265399#M44953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-03T17:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete data on a table (AS400)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265400#M44954</link>
      <description>hi 
&lt;BR /&gt;table for update must be loged on as400. see STRJRN</description>
      <pubDate>Mon, 06 Oct 2008 09:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265400#M44954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-06T09:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete data on a table (AS400)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265401#M44955</link>
      <description>hi Chris 
&lt;BR /&gt;i'm not sure to understand what you means by "see STRJRN". 
&lt;BR /&gt;i've checked the meaning of STRJRN ... but i'm also beginner with As400 .. 
&lt;BR /&gt;thanks to give me more information.</description>
      <pubDate>Mon, 06 Oct 2008 23:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265401#M44955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-06T23:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete data on a table (AS400)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265402#M44956</link>
      <description>hi,&lt;BR /&gt;I've tried to use tAS400Row to delete (not to difficult !) normaly,&lt;BR /&gt;but , and i often has "a but" inside (lol) , I' ve strange addition in the generated code.&lt;BR /&gt;I do noting very special in the job : just put value to the connection and the sql synxtaxe :&lt;BR /&gt;&lt;PRE&gt;"DELETE FROM DATABASE.TABLE;"&lt;/PRE&gt;&lt;BR /&gt;and have an error message :&lt;BR /&gt;&lt;PRE&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: &lt;BR /&gt;	Syntax error on token "=", VariableInitializer expected after this token&lt;BR /&gt;	Syntax error on token "+", ++ expected&lt;BR /&gt;	at test.delete_data_database_0_1.DELETE_DATA_DATABASE.tAS400Row_1Process(DELETE_DATA_DATABASE.java:156)&lt;BR /&gt;	at test.delete_data_database_0_1.DELETE_DATA_DATABASE.runJobInTOS(DELETE_DATA_DATABASE.java:361)&lt;BR /&gt;	at test.delete_data_database_0_1.DELETE_DATA_DATABASE.main(DELETE_DATA_DATABASE.java:259)&lt;/PRE&gt;&lt;BR /&gt;A normal error message if we look at the generated code .&lt;BR /&gt;And impossible to find the reason why !&lt;BR /&gt;any idea !?&lt;BR /&gt;thanks for you help</description>
      <pubDate>Fri, 10 Oct 2008 09:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265402#M44956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-10T09:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete data on a table (AS400)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265403#M44957</link>
      <description>Never mind, 
&lt;BR /&gt;i 'v done an other "job" with the same properties-values ... 
&lt;BR /&gt;When i excecute the SQL request via the dialog box to test my query, it work fine 
&lt;BR /&gt;but now (and again ) have an error message when i launch the job by running it ... 
&lt;BR /&gt; 
&lt;PRE&gt; Table LANDMUCTIS de TLMBIB incorrecte pour cette opération.&lt;/PRE&gt; 
&lt;BR /&gt;like i've already said an a previous message 
&lt;BR /&gt;and i'm like on a merry-go-round now ... 
&lt;BR /&gt;thanks 
&lt;BR /&gt; 
&lt;BR /&gt;Edit : find the reason why for 
&lt;A href="http://www.websina.com/bugzero/faq/exception-as400.html" target="_blank" rel="nofollow noopener noreferrer"&gt;incorrecte pour cette opération&lt;/A&gt;</description>
      <pubDate>Fri, 10 Oct 2008 09:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265403#M44957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-10T09:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete data on a table (AS400)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265404#M44958</link>
      <description>hi,&lt;BR /&gt;follow this&lt;BR /&gt;&lt;A href="http://www.blognote-info.com/index.php?2006/08/21/465-as400-et-l-erreur-sql7008" rel="nofollow noopener noreferrer"&gt;http://www.blognote-info.com/index.php?2006/08/21/465-as400-et-l-erreur-sql7008&lt;/A&gt;</description>
      <pubDate>Tue, 14 Oct 2008 10:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265404#M44958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-14T10:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to delete data on a table (AS400)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265405#M44959</link>
      <description>yes , i've already seen this page (and 'cause i'm french... i've read it first ) &lt;BR /&gt;but like the forum is "in english" ... (with a lot french "speaker" I guess ..lol)</description>
      <pubDate>Tue, 14 Oct 2008 14:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-delete-data-on-a-table-AS400/m-p/2265405#M44959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-14T14:05:26Z</dc:date>
    </item>
  </channel>
</rss>

