I was looking to see if there are ways to collect MQ object details other than names using PCF commands. For E.g. If I would like see where a QAlias is pointing to or the Target base object, how do I generate a PCF command to accomplish this??
Use the information in the link that Morag gave you and then you need to do something like:
agent = new PCFMessageAgent(qMgrName);
request = new PCFMessage(MQConstants.MQCMD_INQUIRE_Q);
request.addParameter(MQConstants.MQCA_Q_NAME, "*");
request.addParameter(MQConstants.MQIA_Q_TYPE, MQConstants.MQQT_ALIAS);
request.addParameter(MQConstants.MQIACF_Q_ATTRS,
new int [] { MQConstants.MQCA_Q_NAME, MQConstants.MQCA_BASE_NAME });
responses = agent.send (request);