bonjour à tous,
J'ai mise en place la routine suivante .
1 2
| ccLib = "DSPLIB LIB(mylib) OUTPUT(*PRINT)" ;
RunccCmd(db2Sys400, ccLib, true); |
Dans RunccCmd :
1 2 3 4 5 6 7
| if (As400Mess == true) {
AS400Message[] ccRet = ccAS400.getMessageList();
if(ccRet != null) {
for (int i=0; i<ccRet.length; i++)
System.out.println(ccRet[i].getText());
}
} |
pour plusieurs commande AS400, comme
ccLib = "CHGLIBL (mylib1 mylib2) ;
j'ai des message en retour.
Pour la commande dsplib, aucun retour...
avez vous une idée ?
Merci.
Partager