Tuesday, 15 January 2013

java - Error adding parameters to a PCF message with WebSphere MQ API -


I'm having trouble adding parameters for specific PCF messages. I inquiry log () And as you can see that there is only one optional parameter in it, but when I look at the response list, it shows that I have TotalLogs or LogUsed < / Code> should be able to get information such as

I am trying to do this:

  PCF Message Inquiry LogStatus = New PCFMS (CMQCFCMQCMDIINAVYYLOG); Inquiries LogStatus.addParameter (CMQCFC.MQSYSP_TYPE_LOG_STATUS, CMQCFC.MQIACF_SYSP_FULL_LOGS);   

Or something with those lines ... any thoughts? I'm not saying anything:

  3014 (0BC6): MQRCCF_CFIN_PARM_ID_ERROR   

Before you do anything you can tell me.

OK, I came to know what my problem was: here in the right solution, There are some pieces of my solution to guide the person:

  pcfResponses = this.queryAgent.send (CMQCFC.MQCMD_INQUIRE_LOG, tap); RespStruct = new MQCFH (respcount); PcfParam = PCFParameter.nextParameter (pcfResponses [respcount]); PcfParam.getParameter () == CMQCFC.MQCACF_DATA_SET_NAME);    

No comments:

Post a Comment