Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

JVM does not recognize MQ command.

Mon Jun 15, 2009 11:16 am

Hi,

I am trying to invoke "runmqsc -v < mqscriptfile" from java program, but the JVM does not recognize the verify command "<".

RunMQSCScript.java
---------
Runtime rt=Runtime.getRuntime();
Process p=rt.exec("runmqsc -v < SDPDEV14.mqs",s1,new File("C:/temp/"));


java RunMQSCScript
---------------------
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
Usage: runmqsc [-e] [-v] [-w WaitTime [-x]] QMgrName

Does anybody have an idea why it's not recognizing verify("<") command.



Post a reply
  Related Posts  to : JVM does not recognize MQ command.
 BETWEEN SQL COMMAND     -  
 SQL DISTINCT Command     -  
 Average SQL command     -  
 PHP echo command     -  
 SQL COUNT Command     -  
 SQL LOCATE command     -  
 SQL LIKE query Command     -  
 SQL ALTER Command     -  
 Calling the man Command     -  
 SQL GROUP BY Command     -