<?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: pull values from database and pass to tRunJob as values for parameters in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275069#M51551</link>
    <description>&lt;P&gt;ok I changed the data in the table (pic 1) so that the values in TargetFolder don't end with \, but I'm still getting errors&lt;BR /&gt;(I also tried removing the leading \, but still get the errors below)&lt;BR /&gt;&lt;STRONG&gt;tMap&lt;/STRONG&gt; (pics 2-4)&lt;/P&gt; 
&lt;PRE&gt;StringHandling.EREPLACE(row1.TargetFolder ,"\\\\","\\\\\\\\")&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_MainRoutine_DeleteFiles_a at 14:41 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.tContextDump_1Process(Copy_of_SubRoutine_DeleteFiles.java:301)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJobInTOS(Copy_of_SubRoutine_DeleteFiles.java:668)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJob(Copy_of_SubRoutine_DeleteFiles.java:568)&lt;BR /&gt;\gwpack\import|*.zip|45.0&lt;BR /&gt;\\gwpack\\import|*.zip|45.0&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_MainRoutine_DeleteFiles_a.java:1002)&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.runJobInTOS(Copy_of_MainRoutine_DeleteFiles_a.java:1233)&lt;BR /&gt;Job Copy_of_MainRoutine_DeleteFiles_a ended at 14:41 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;tReplace&lt;/STRONG&gt; (pics 5 &amp;amp; 6)&lt;/P&gt; 
&lt;PRE&gt;Search = "\\\\" and Replace with = "\\\\\\\\"&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_Copy_of_MainRoutine_DeleteFiles_a at 14:51 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Syntax error on token ".", delete this token&lt;BR /&gt; at notifications.copy_of_copy_of_mainroutine_deletefiles_a_0_1.Copy_of_Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_Copy_of_MainRoutine_DeleteFiles_a.java:1087)&lt;BR /&gt; at notifications.copy_of_copy_of_mainroutine_deletefiles_a_0_1.Copy_of_Copy_of_MainRoutine_DeleteFiles_a.runJobInTOS(Copy_of_Copy_of_MainRoutine_DeleteFiles_a.java:1360)&lt;BR /&gt; at notifications.copy_of_copy_of_mainroutine_deletefiles_a_0_1.Copy_of_Copy_of_MainRoutine_DeleteFiles_a.main(Copy_of_Copy_of_MainRoutine_DeleteFiles_a.java:1266)&lt;BR /&gt;Job Copy_of_Copy_of_MainRoutine_DeleteFiles_a ended at 14:51 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;tJava&lt;/STRONG&gt; (pics 7 &amp;amp; &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt; 
&lt;PRE&gt;row2.TargetFolder=row3.TargetFolder.replaceAll("\\\\","\\\\\\\\");&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job MainRoutine_DeleteFiles at 14:57 04/06/2008.&lt;BR /&gt;Exception in component tJava_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.tMSSqlInput_2Process(MainRoutine_DeleteFiles.java:686)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.runJobInTOS(MainRoutine_DeleteFiles.java:1190)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.main(MainRoutine_DeleteFiles.java:1097)&lt;BR /&gt;Job MainRoutine_DeleteFiles ended at 14:57 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;I don't care what component I use to do this (whether its tJava, tMap, tReplace, or something else), btw&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2008 19:47:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-06-04T19:47:58Z</dc:date>
    <item>
      <title>pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275063#M51545</link>
      <description>&lt;P&gt;I have a table (pic 1) that contains information that I want to, pull with tMSSqlInput and, pass as Context Parameters, via tRunJob (pics 2-5), to a sub-Job (dummy process currently, shown in pic 8, the actual process is what is deactivated above in the pic). I want it to loop through every row in the table and pass the information to tRunJob.&lt;BR /&gt;But I am having trouble getting the main routine to work (pics 6 &amp;amp; 7)&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job MainRoutine_DeleteFiles at 17:13 03/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: &lt;BR /&gt; notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles cannot be resolved to a type&lt;BR /&gt; notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles cannot be resolved&lt;BR /&gt; notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles cannot be resolved&lt;BR /&gt; notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles cannot be resolved&lt;BR /&gt; notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles cannot be resolved&lt;BR /&gt; connecting to socket on port 3432&lt;BR /&gt; connected&lt;BR /&gt; connecting to socket on port 4426&lt;BR /&gt; connected&lt;BR /&gt;Job MainRoutine_DeleteFiles ended at 17:13 03/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2008 22:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275063#M51545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-03T22:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275064#M51546</link>
      <description>&lt;P&gt;ok, based on this topic &lt;A href="http://talendforge.org/forum/viewtopic.php?pid=7497" target="_blank" rel="nofollow noopener noreferrer"&gt;http://talendforge.org/forum/viewtopic.php?pid=7497&lt;/A&gt;, I tried adding tLogRow to my job, but that still doesnt work&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job MainRoutine_DeleteFiles at 17:49 03/06/2008.&lt;BR /&gt;TargetFolder Extension_FileName NumDaysRetain&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.tContextDump_1Process(Copy_of_SubRoutine_DeleteFiles.java:301)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJobInTOS(Copy_of_SubRoutine_DeleteFiles.java:666)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJob(Copy_of_SubRoutine_DeleteFiles.java:566)&lt;BR /&gt;\gwpack\import\|*.zip|45.0&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.tMSSqlInput_2Process(MainRoutine_DeleteFiles.java:540)&lt;BR /&gt;Job MainRoutine_DeleteFiles ended at 17:49 03/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2008 22:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275064#M51546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-03T22:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275065#M51547</link>
      <description>&lt;P&gt;Hello&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;Because there is a special charater'\' in your targetfolder column, so you need to escape '\' before pass it to child job. For example: \file1\file2 ===&amp;gt;\\file1\\file2&lt;BR /&gt;I have tested with tJavaRow component, it works with the expression:&lt;/P&gt; 
&lt;PRE&gt;String.replaceAll("\\\\","\\\\\\\\")&lt;/PRE&gt; 
&lt;P&gt;&lt;BR /&gt;see the screenshot.&lt;BR /&gt;Best regards&lt;BR /&gt; shong&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCHL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143261i16C208ABFFF6B3FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCHL.png" alt="0683p000009MCHL.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCNN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136994i36C98CF7E7155B94/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCNN.png" alt="0683p000009MCNN.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2008 07:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275065#M51547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-04T07:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275066#M51548</link>
      <description>&lt;P&gt;Try #1 (the pictures attached are for this try)&lt;/P&gt; 
&lt;PRE&gt;row2.TargetFolder=row1.TargetFolder.replaceAll("\\\\","\\\\\\\\");&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job MainRoutine_DeleteFiles at 11:50 04/06/2008.&lt;BR /&gt;Exception in component tJava_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.tMSSqlInput_2Process(MainRoutine_DeleteFiles.java:517)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.runJobInTOS(MainRoutine_DeleteFiles.java:913)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.main(MainRoutine_DeleteFiles.java:820)&lt;BR /&gt;Job MainRoutine_DeleteFiles ended at 11:50 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;I tried these because #1 didn't work, just to make sure I wasn't supposed to use the exact same thing you said in your example.&lt;BR /&gt;Try #2&lt;/P&gt; 
&lt;PRE&gt;output_row.folderpath=input_row.folderpath.replaceAll("\\\\","\\\\\\\\");&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job MainRoutine_DeleteFiles at 11:46 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: &lt;BR /&gt; output_row cannot be resolved&lt;BR /&gt; input_row cannot be resolved&lt;BR /&gt; row2.filePath cannot be resolved or is not a field&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.tMSSqlInput_2Process(MainRoutine_DeleteFiles.java:516)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.runJobInTOS(MainRoutine_DeleteFiles.java:913)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.main(MainRoutine_DeleteFiles.java:820)&lt;BR /&gt;Job MainRoutine_DeleteFiles ended at 11:46 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;Try #3&lt;/P&gt; 
&lt;PRE&gt;output_row.TargetFolder=input_row.TargetFolder.replaceAll("\\\\","\\\\\\\\");&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job MainRoutine_DeleteFiles at 11:44 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: &lt;BR /&gt; output_row cannot be resolved&lt;BR /&gt; input_row cannot be resolved&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.tMSSqlInput_2Process(MainRoutine_DeleteFiles.java:516)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.runJobInTOS(MainRoutine_DeleteFiles.java:913)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.main(MainRoutine_DeleteFiles.java:820)&lt;BR /&gt;Job MainRoutine_DeleteFiles ended at 11:44 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2008 16:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275066#M51548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-04T16:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275067#M51549</link>
      <description>&lt;P&gt;then I tried using tReplace, instead of tJava (or tMap). &lt;BR /&gt;I set Search = "\" and Replace with = "\\", and got this error (first pic)&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_MainRoutine_DeleteFiles_a at 12:01 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: &lt;BR /&gt; The method replaceAll(String, String) in the type String is not applicable for the arguments (String)&lt;BR /&gt; Syntax error, insert ")" to complete MethodInvocation&lt;BR /&gt; Syntax error, insert ";" to complete Statement&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_MainRoutine_DeleteFiles_a.java:638)&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.runJobInTOS(Copy_of_MainRoutine_DeleteFiles_a.java:1024)&lt;BR /&gt;Job Copy_of_MainRoutine_DeleteFiles_a ended at 12:01 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;Then I set Search = "\\\\" and Replace with = "\\\\\\\\", and got this error&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_MainRoutine_DeleteFiles_a at 12:03 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.tContextDump_1Process(Copy_of_SubRoutine_DeleteFiles.java:301)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJobInTOS(Copy_of_SubRoutine_DeleteFiles.java:666)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJob(Copy_of_SubRoutine_DeleteFiles.java:566)&lt;BR /&gt;\\gwpack\\import\\|*.zip|45.0&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_MainRoutine_DeleteFiles_a.java:718)&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.runJobInTOS(Copy_of_MainRoutine_DeleteFiles_a.java:920)&lt;BR /&gt;Job Copy_of_MainRoutine_DeleteFiles_a ended at 12:03 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2008 17:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275067#M51549</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-04T17:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275068#M51550</link>
      <description>&lt;P&gt;I tried using tMap instead of tJava...&lt;/P&gt; 
&lt;PRE&gt;StringHandling.EREPLACE(row1.TargetFolder ,"\\\\","\\\\\\\\")&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_MainRoutine_DeleteFiles_a at 11:55 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.tContextDump_1Process(Copy_of_SubRoutine_DeleteFiles.java:301)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJobInTOS(Copy_of_SubRoutine_DeleteFiles.java:666)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJob(Copy_of_SubRoutine_DeleteFiles.java:566)&lt;BR /&gt;\\gwpack\\import\\|*.zip|45.0&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_MainRoutine_DeleteFiles_a.java:753)&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.runJobInTOS(Copy_of_MainRoutine_DeleteFiles_a.java:956)&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.main(Copy_of_MainRoutine_DeleteFiles_a.java:863)&lt;BR /&gt;Job Copy_of_MainRoutine_DeleteFiles_a ended at 11:55 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2008 19:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275068#M51550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-04T19:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275069#M51551</link>
      <description>&lt;P&gt;ok I changed the data in the table (pic 1) so that the values in TargetFolder don't end with \, but I'm still getting errors&lt;BR /&gt;(I also tried removing the leading \, but still get the errors below)&lt;BR /&gt;&lt;STRONG&gt;tMap&lt;/STRONG&gt; (pics 2-4)&lt;/P&gt; 
&lt;PRE&gt;StringHandling.EREPLACE(row1.TargetFolder ,"\\\\","\\\\\\\\")&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_MainRoutine_DeleteFiles_a at 14:41 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.tContextDump_1Process(Copy_of_SubRoutine_DeleteFiles.java:301)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJobInTOS(Copy_of_SubRoutine_DeleteFiles.java:668)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJob(Copy_of_SubRoutine_DeleteFiles.java:568)&lt;BR /&gt;\gwpack\import|*.zip|45.0&lt;BR /&gt;\\gwpack\\import|*.zip|45.0&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_MainRoutine_DeleteFiles_a.java:1002)&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.runJobInTOS(Copy_of_MainRoutine_DeleteFiles_a.java:1233)&lt;BR /&gt;Job Copy_of_MainRoutine_DeleteFiles_a ended at 14:41 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;tReplace&lt;/STRONG&gt; (pics 5 &amp;amp; 6)&lt;/P&gt; 
&lt;PRE&gt;Search = "\\\\" and Replace with = "\\\\\\\\"&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_Copy_of_MainRoutine_DeleteFiles_a at 14:51 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Syntax error on token ".", delete this token&lt;BR /&gt; at notifications.copy_of_copy_of_mainroutine_deletefiles_a_0_1.Copy_of_Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_Copy_of_MainRoutine_DeleteFiles_a.java:1087)&lt;BR /&gt; at notifications.copy_of_copy_of_mainroutine_deletefiles_a_0_1.Copy_of_Copy_of_MainRoutine_DeleteFiles_a.runJobInTOS(Copy_of_Copy_of_MainRoutine_DeleteFiles_a.java:1360)&lt;BR /&gt; at notifications.copy_of_copy_of_mainroutine_deletefiles_a_0_1.Copy_of_Copy_of_MainRoutine_DeleteFiles_a.main(Copy_of_Copy_of_MainRoutine_DeleteFiles_a.java:1266)&lt;BR /&gt;Job Copy_of_Copy_of_MainRoutine_DeleteFiles_a ended at 14:51 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;tJava&lt;/STRONG&gt; (pics 7 &amp;amp; &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt; 
&lt;PRE&gt;row2.TargetFolder=row3.TargetFolder.replaceAll("\\\\","\\\\\\\\");&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job MainRoutine_DeleteFiles at 14:57 04/06/2008.&lt;BR /&gt;Exception in component tJava_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.tMSSqlInput_2Process(MainRoutine_DeleteFiles.java:686)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.runJobInTOS(MainRoutine_DeleteFiles.java:1190)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.main(MainRoutine_DeleteFiles.java:1097)&lt;BR /&gt;Job MainRoutine_DeleteFiles ended at 14:57 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;I don't care what component I use to do this (whether its tJava, tMap, tReplace, or something else), btw&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2008 19:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275069#M51551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-04T19:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275070#M51552</link>
      <description>&lt;P&gt;I tried changing the SQL code to do the substitution in the original statement (pic 1), but I still get an error&lt;/P&gt; 
&lt;PRE&gt;select REPLACE(targetfolder,'\','\\') as TargetFolder, Extension_FileName, NumDaysRetain&lt;BR /&gt;FROM Analysis.smfadm.tblOdyssey_FileCleanUp_Variables&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_Copy_of_MainRoutine_DeleteFiles_a at 16:35 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Syntax error on token ".", delete this token&lt;BR /&gt; at notifications.copy_of_copy_of_mainroutine_deletefiles_a_0_1.Copy_of_Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_Copy_of_MainRoutine_DeleteFiles_a.java:566)&lt;BR /&gt; at notifications.copy_of_copy_of_mainroutine_deletefiles_a_0_1.Copy_of_Copy_of_MainRoutine_DeleteFiles_a.runJobInTOS(Copy_of_Copy_of_MainRoutine_DeleteFiles_a.java:786)&lt;BR /&gt; at notifications.copy_of_copy_of_mainroutine_deletefiles_a_0_1.Copy_of_Copy_of_MainRoutine_DeleteFiles_a.main(Copy_of_Copy_of_MainRoutine_DeleteFiles_a.java:692)&lt;BR /&gt;Job Copy_of_Copy_of_MainRoutine_DeleteFiles_a ended at 16:35 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;I tried REPLACE(targetfolder,'\','\\\\') and REPLACE(targetfolder,'\','\\\\\\\\'), with the same error results&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2008 21:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275070#M51552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-04T21:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275071#M51553</link>
      <description>&lt;P&gt;Hello strpdsnk&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Try #2&lt;BR /&gt;Code:&lt;BR /&gt;output_row.folderpath=input_row.folderpath.replaceAll("\\\\","\\\\\\\\");&lt;BR /&gt; Starting job MainRoutine_DeleteFiles at 11:46 04/06/2008.&lt;BR /&gt; Exception in thread "main" java.lang.Error: Unresolved compilation problems:&lt;BR /&gt; output_row cannot be resolved&lt;BR /&gt; input_row cannot be resolved&lt;BR /&gt; row2.filePath cannot be resolved or is not a field&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.tMSSqlInput_2Process(MainRoutine_DeleteFiles.java:516)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.runJobInTOS(MainRoutine_DeleteFiles.java:913)&lt;BR /&gt; at notifications.mainroutine_deletefiles_0_1.MainRoutine_DeleteFiles.main(MainRoutine_DeleteFiles.java:820)&lt;BR /&gt; Job MainRoutine_DeleteFiles ended at 11:46 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;1) Please use the tJavaRow replace the tJava component. If your schema column is 'TargetFolder', please use the expression:&lt;/P&gt; 
&lt;PRE&gt;row2.TargetFolder=row1.TargetFolder.replaceAll("\\\\","\\\\\\\\");&lt;/PRE&gt; 
&lt;P&gt;&lt;BR /&gt;not row2.folderpath&lt;BR /&gt;2) Make sure there are not null value in your 'TargetFolder' column, otherwise, you need to use a tMap component deal with the null value.&lt;BR /&gt;Best regards&lt;BR /&gt; &lt;BR /&gt; shong&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2008 02:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275071#M51553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-05T02:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275072#M51554</link>
      <description>&lt;P&gt;1. doing that gives me this error: (and doesnt pass the 2nd, Extension_FileName, and 3rd, NumDaysRetain, columns)&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_MainRoutine_DeleteFiles_a at 22:22 04/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.tContextDump_1Process(Copy_of_SubRoutine_DeleteFiles.java:301)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJobInTOS(Copy_of_SubRoutine_DeleteFiles.java:668)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJob(Copy_of_SubRoutine_DeleteFiles.java:568)&lt;BR /&gt;\gwpack\import\|*.zip|45.0&lt;BR /&gt;\\gwpack\\import\\||&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_MainRoutine_DeleteFiles_a.java:963)&lt;BR /&gt;Job Copy_of_MainRoutine_DeleteFiles_a ended at 22:22 04/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;2. also, there are no null values in that column&lt;BR /&gt;but it isn't working in tMap when I've tried that...&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2008 03:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275072#M51554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-05T03:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275073#M51555</link>
      <description>&lt;P&gt;Hello strpdsnk &lt;BR /&gt;Where do use the value of TargetFolder field in your child job? Can you upload a screenshot of child job?&lt;BR /&gt;Best regards&lt;BR /&gt; &lt;BR /&gt; shong&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2008 10:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275073#M51555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-05T10:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275074#M51556</link>
      <description>&lt;P&gt;ok I activated part of the actual subjob I want it to run, not the dummy part&lt;BR /&gt;Pictures:&lt;BR /&gt;1 - Main Routine&lt;BR /&gt;2 - Sub Routine - first step&lt;BR /&gt;3 - Sub Routine - first step&lt;BR /&gt;4 - Sub Routine - first step&lt;BR /&gt;5 - Sub Routine - dummy and actual processes shown&lt;BR /&gt;&lt;STRONG&gt;Error with original tJavaRow code&lt;/STRONG&gt; (row3.TargetFolder=row2.TargetFolder.replaceAll("\\\\","\\\\\\\\")&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_MainRoutine_DeleteFiles_a at 14:00 05/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.tFileList_1Process(Copy_of_SubRoutine_DeleteFiles.java:525)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJobInTOS(Copy_of_SubRoutine_DeleteFiles.java:1005)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJob(Copy_of_SubRoutine_DeleteFiles.java:905)&lt;BR /&gt;\gwpack\import\|*.zip|45.0&lt;BR /&gt;\\gwpack\\import\\||&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_MainRoutine_DeleteFiles_a.java:964)&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.runJobInTOS(Copy_of_MainRoutine_DeleteFiles_a.java:1193)&lt;BR /&gt;Job Copy_of_MainRoutine_DeleteFiles_a ended at 14:00 05/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;and I updated the code in tJavaRow to include the other 2 columns:&lt;/P&gt; 
&lt;PRE&gt;row3.TargetFolder=row2.TargetFolder.replaceAll("\\\\","\\\\\\\\");&lt;BR /&gt;row3.Extension_FileName=row2.Extension_FileName;&lt;BR /&gt;row3.NumDaysRetain=row2.NumDaysRetain;&lt;/PRE&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Error with modified tJavaRow code&lt;/STRONG&gt;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job Copy_of_MainRoutine_DeleteFiles_a at 14:01 05/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.tFileList_1Process(Copy_of_SubRoutine_DeleteFiles.java:525)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJobInTOS(Copy_of_SubRoutine_DeleteFiles.java:1005)&lt;BR /&gt; at notifications.copy_of_subroutine_deletefiles_2_0.Copy_of_SubRoutine_DeleteFiles.runJob(Copy_of_SubRoutine_DeleteFiles.java:905)&lt;BR /&gt;\gwpack\import\|*.zip|45.0&lt;BR /&gt;\\gwpack\\import\\|*.zip|45.0&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.tMSSqlInput_2Process(Copy_of_MainRoutine_DeleteFiles_a.java:966)&lt;BR /&gt; at notifications.copy_of_mainroutine_deletefiles_a_0_1.Copy_of_MainRoutine_DeleteFiles_a.runJobInTOS(Copy_of_MainRoutine_DeleteFiles_a.java:1195)&lt;BR /&gt;Job Copy_of_MainRoutine_DeleteFiles_a ended at 14:01 05/06/2008.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;The sub job I want to send these context parameter values to is the job I was working on here 2920&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2008 18:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275074#M51556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-05T18:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275075#M51557</link>
      <description>&lt;P&gt;This is still giving me problems. See my last post above.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2008 20:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275075#M51557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-11T20:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275076#M51558</link>
      <description>&lt;P&gt;Ok, I can pass one row from tMSSqlInput to tRunJob (pics 1-3)&lt;BR /&gt;And, I've tested it out, and using the same format (tMSSqlInput --row1 (main)--&amp;gt; tRunJob) works when you've got multiple rows being pulled from the database. It just does one row at a time.&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2008 20:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275076#M51558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-17T20:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275077#M51559</link>
      <description>&lt;P&gt;Hello everybody,&lt;BR /&gt;maybe anyone could help me.&lt;BR /&gt;I'm beginning to use Talend Open Studio and I already get error messages.&lt;BR /&gt;Here is the message I get:&lt;BR /&gt;&lt;BR /&gt;Starting job test2 at 14:27 19/06/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; at module_4.test2_0_1.test2.main(test2.java:7727)&lt;BR /&gt;Job test2 ended at 14:27 19/06/2008. &lt;BR /&gt;I really can settle this problem and so, I can't keep on working.&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2008 16:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275077#M51559</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-06-19T16:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275078#M51560</link>
      <description>&lt;P&gt;1. you should post a new topic for this problem&lt;BR /&gt;2. you need to be more specific about what you've done - ie screenshots!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2008 16:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275078#M51560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-19T16:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275079#M51561</link>
      <description>&lt;P&gt;I also encountered similar issue and I got the resolution by changing the slash type (from back slash to front slash) while mentioning my target file address.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2014 21:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275079#M51561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-29T21:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: pull values from database and pass to tRunJob as values for parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275080#M51562</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I am working on loading data from a file to a table created in hive.&lt;BR /&gt;The error is as follows:&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: Invalid escape sequence (valid ones are &amp;nbsp;\b &amp;nbsp;\t &amp;nbsp;\n &amp;nbsp;\f &amp;nbsp;\r &amp;nbsp;\" &amp;nbsp;\' &amp;nbsp;\\ ) &lt;BR /&gt;at local_project.just_hive_0_1.just_hive.tHiveConnection_1Process(just_hive.java:354)at local_project.just_hive_0_1.just_hive.runJobInTOS(just_hive.java:1115)at local_project.just_hive_0_1.just_hive.main(just_hive.java:972)&lt;BR /&gt;I also tried using\\, but it dint work&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 12:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/pull-values-from-database-and-pass-to-tRunJob-as-values-for/m-p/2275080#M51562</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-10T12:26:45Z</dc:date>
    </item>
  </channel>
</rss>

