Hi,
I'm working for a client who is using Ellipse 6.2.1 on a AIX server with CICS.
I’m trying to interact with Ellipse via Java Middleware API version 1.09.004.
There’s a need to work with Ellipse object named PurchaseOrder - create a new order, retrieve orders data and modify these data.
It appears that it’s not clear what parameters and what types of these parameters have to be passed to execute operations mentioned above.
E.g. when trying to work with object PURCHASEORDER.CreatePO using the code below:
MIMSBlock myBlock = new MIMSBlock();
MIMSRequest myReq = null;
myReq = myBlock.getRequests().create();
myReq.getFields().create(MIMSBlock.SERVICE, "PURCHASEORDER.CreatePO");
myReq.getInstances().create().getFields().create("DstrctCode","330");
myReq.getInstances().create().getFields().create("PreqItemNo","000000000007");
myReq.getInstances().create().getFields().create("PreqNo","001");
myReq.getInstances().create().getFields().create("PurchaseOrdNo","?03400");
myReq.getInstances().create().getFields().create("PurchOrdItemNo","001");
myReq.getInstances().create().getFields().create("TranOrigType","000708610");
myReq.getFields().create(MIMSBlock.REPLYLIST, "PreqPOReturn");
I’m receiving an exception:
com.mincom.mims.tech.mware.common.ServerException: "INPUT REQUIRED "
at com.mincom.mims.tech.mware.common.MimsSession.checkForCBRServerException(MimsSession.java:709)
at com.mincom.mims.tech.mware.cics.CicsSession.request(CicsSession.java:521)
at ru.iteco.mincom.connect.MIMSBlockWork.createPO(MIMSBlockWork.java:197)
at ru.iteco.mincom.connect.MIMSBlockWork.main(MIMSBlockWork.java:30)
Could anyone provide please working examples of Java code that executes these operations using both MIMS blocks and MSO (Mincom Screen Objects)?
Any help on this will be highly appreciated.
Thanks in advance,
Artem
I'm working for a client who is using Ellipse 6.2.1 on a AIX server with CICS.
I’m trying to interact with Ellipse via Java Middleware API version 1.09.004.
There’s a need to work with Ellipse object named PurchaseOrder - create a new order, retrieve orders data and modify these data.
It appears that it’s not clear what parameters and what types of these parameters have to be passed to execute operations mentioned above.
E.g. when trying to work with object PURCHASEORDER.CreatePO using the code below:
MIMSBlock myBlock = new MIMSBlock();
MIMSRequest myReq = null;
myReq = myBlock.getRequests().create();
myReq.getFields().create(MIMSBlock.SERVICE, "PURCHASEORDER.CreatePO");
myReq.getInstances().create().getFields().create("DstrctCode","330");
myReq.getInstances().create().getFields().create("PreqItemNo","000000000007");
myReq.getInstances().create().getFields().create("PreqNo","001");
myReq.getInstances().create().getFields().create("PurchaseOrdNo","?03400");
myReq.getInstances().create().getFields().create("PurchOrdItemNo","001");
myReq.getInstances().create().getFields().create("TranOrigType","000708610");
myReq.getFields().create(MIMSBlock.REPLYLIST, "PreqPOReturn");
I’m receiving an exception:
com.mincom.mims.tech.mware.common.ServerException: "INPUT REQUIRED "
at com.mincom.mims.tech.mware.common.MimsSession.checkForCBRServerException(MimsSession.java:709)
at com.mincom.mims.tech.mware.cics.CicsSession.request(CicsSession.java:521)
at ru.iteco.mincom.connect.MIMSBlockWork.createPO(MIMSBlockWork.java:197)
at ru.iteco.mincom.connect.MIMSBlockWork.main(MIMSBlockWork.java:30)
Could anyone provide please working examples of Java code that executes these operations using both MIMS blocks and MSO (Mincom Screen Objects)?
Any help on this will be highly appreciated.
Thanks in advance,
Artem