Bonjour,
Je voudrais lancer un qshell sous as400 toolbox. Je lance la classe suivante,
[code]
public static void main(String[] args) throws AS400SecurityException, ErrorCompletingRequestException, IOException, InterruptedException, PropertyVetoException {
AS400 sys = new AS400("AS400D.calyonfinancial.com");
sys.setUserId("jmartin");
sys.setPassword("jmartin");
CommandCall cmd = new CommandCall(sys);
cmd.run("strqsh");
cmd.run("unix command goes here");
AS400Message[] messageList = cmd.getMessageList();
for (AS400Message msg : messageList) {
System.out.println(msg.getText());
}
sys.disconnectService(AS400.COMMAND);
}
[/code]
et la première commande ne me mets pas en qshell. Quelq'un a-t'il une idée?
Julien.