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 -
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
Post a Comment