Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

capturing interactive messages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • capturing interactive messages

    I have been trying to capture a command that I issue from a java command call: CommandCall command = new CommandCall( as400 ); try { if (command.run("DSPFD STLIB/AIQOH")) { if(monitor) sp.printStatus(progName,("Completed "+line+" step "+ii)); } else { if(monitor) sp.printStatus(progName,( "cannot run "+line+" step "+ii)); // If messages were produced from the command, print them AS400Message[] messagelist = command.getMessageList(); The above command.getMessageList() only works for error messages. Is there a way to capture the output of the command call???? Appreciate any and all help
Working...
X