command prompt - Executing Teradata fastload in windows cmd -


I am trying to run the teradata database command in the Windows Command prompt, through my Java program. But the result of the code given below was given an invalid parameter " FDL2412 - " I tried to run the same Fastload command at my command prompt and it works fine Give valuable inputs.

  import java.io. *; Public class DOSMDI {public static zero main (string algos []) {try {string fast load = "fast load> lt; c: / users / fbnk_actrar.pld> c: / users / fbnk_sctor.process p = Runtime.gettime.exec ("cmd.exe / c" + fastload); p.waitFor (); buffredder reader = new buffed reader (neweststream reader (pg. Input inputs)); string line = reader Readline (); while (line ! = Null) {System.out.println (line); line = reader.readLine ();}} Catch (IOE EXPRESS E1) {} Catch (Interrupted Expression E2) {} System.out.printLN ("Finished ");}}  


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -