• Deprecated Classes 
    Class and Description
    com.ibm.mq.pcf.MQCFBF
    use MQCFBF instead.
          struct tagMQCFBF {
                    MQLONG  Type;               // Structure type
                    MQLONG  StrucLength;        // Structure length
                    MQLONG  Parameter;          // Parameter identifier
                    MQLONG  Operator;           // Operator identifier
                    MQLONG  FilterValueLength;  // Filter value length
                    MQBYTE  FilterValue[1];     // Filter value -- first byte
            };
     
    com.ibm.mq.pcf.MQCFBS
    use MQCFBS instead.
          struct tagMQCFBS {
                    MQLONG  Type;          // Structure type
                    MQLONG  StrucLength;   // Structure length
                    MQLONG  Parameter;     // Parameter identifier
                    MQLONG  StringLength;  // Length of string
                    MQBYTE  String[1];     // String value -- first byte
            };
     
    com.ibm.mq.pcf.MQCFGR
    use MQCFGR instead.
            struct tagMQCFGR {
                    MQLONG  Type;            // Structure type
                    MQLONG  StrucLength;     // Structure length
                    MQLONG  Parameter;       // Parameter identifier
                    MQLONG  ParameterCount;  // Count of group parameter structures
            };
     
    com.ibm.mq.pcf.MQCFH
    use MQCFH instead.
            struct tagMQCFH {
                    MQLONG  Type;            // Structure type
                    MQLONG  StrucLength;     // Structure length
                    MQLONG  Version;         // Structure version number
                    MQLONG  Command;         // Command identifier
                    MQLONG  MsgSeqNumber;    // Message sequence number
                    MQLONG  Control;         // Control options
                    MQLONG  CompCode;        // Completion code
                    MQLONG  Reason;          // Reason code qualifying completion code
                    MQLONG  ParameterCount;  // Count of parameter structures
            };
     
    com.ibm.mq.pcf.MQCFIF
    use MQCFIF instead.
            struct tagMQCFIF {
                    MQLONG  Type;         // Structure type
                    MQLONG  StrucLength;  // Structure length
                    MQLONG  Parameter;    // Parameter identifier
                    MQLONG  Operator;     // Operator identifier
                    MQLONG  FilterValue;  // Filter value
            };
     
    com.ibm.mq.pcf.MQCFIL
    use MQCFIL instead.
            struct tagMQCFIL {
                    MQLONG  Type;         // Structure type
                    MQLONG  StrucLength;  // Structure length
                    MQLONG  Parameter;    // Parameter identifier
                    MQLONG  Count;        // Count of parameter values
                    MQLONG  Values[1];    // Parameter values -- first element
            };
     
    com.ibm.mq.pcf.MQCFIL64
    use MQCFIL64 instead.
            struct tagMQCFIL64 {
                    MQLONG  Type;         /* Structure type
                    MQLONG  StrucLength;  /* Structure length
                    MQLONG  Parameter;    /* Parameter identifier
                    MQLONG  Count;        /* Count of parameter values
                    MQINT64 Values[1];    /* Parameter values -- first element
            };
     
    com.ibm.mq.pcf.MQCFIN
    use MQCFIN instead.
          struct tagMQCFIN {
                    MQLONG  Type;         // Structure type
                    MQLONG  StrucLength;  // Structure length
                    MQLONG  Parameter;    // Parameter identifier
                    MQLONG  Value;        // Parameter value
            };
     
    com.ibm.mq.pcf.MQCFIN64
    use MQCFIN64 instead.
            struct tagMQCFIN64 {
                    MQLONG  Type;         // Structure type
                    MQLONG  StrucLength;  // Structure length
                    MQLONG  Parameter;    // Parameter identifier
                    MQLONG  Reserved;     // Reserved
                    MQINT64 Value;        // Parameter value
            };
     
    com.ibm.mq.pcf.MQCFSF
    use MQCFSF instead.
            struct tagMQCFSF {
                    MQLONG  Type;               // Structure type
                    MQLONG  StrucLength;        // Structure length
                    MQLONG  Parameter;          // Parameter identifier
                    MQLONG  Operator;           // Operator identifier
                    MQLONG  CodedCharSetId;     // Coded character set identifier
                    MQLONG  FilterValueLength;  // Filter value length
                    MQCHAR  FilterValue[1];     // Filter value -- first character
            };
     
    com.ibm.mq.pcf.MQCFSL
    use MQCFSL instead.
            struct tagMQCFSL {
                    MQLONG  Type;            // Structure type
                    MQLONG  StrucLength;     // Structure length
                    MQLONG  Parameter;       // Parameter identifier
                    MQLONG  CodedCharSetId;  // Coded character set identifier
                    MQLONG  Count;           // Count of parameter values
                    MQLONG  StringLength;    // Length of one string
                    MQCHAR  Strings[1];      // String values -- first character
            };
     
    com.ibm.mq.pcf.MQCFST
    use MQCFST instead.
            struct tagMQCFST {
                    MQLONG  Type;            // Structure type
                    MQLONG  StrucLength;     // Structure length
                    MQLONG  Parameter;       // Parameter identifier
                    MQLONG  CodedCharSetId;  // Coded character set identifier
                    MQLONG  StringLength;    // Length of string
                    MQCHAR  String[1];       // String value -- first character
            };
     
    com.ibm.mq.pcf.PCFAgent
    use PCFAgent instead.
     PCFAgent agent = new PCFAgent("localhost", 1414, "CLIENT");
     MQMessage[] responses;
     PCFParameter[] parameters = {new MQCFST(CMQC.MQCA_Q_NAME, "*"),
                                  new MQCFIN(CMQC.MQIA_Q_TYPE, MQC.MQQT_LOCAL)};
     MQCFH cfh;
     MQCFSL cfsl;
     responses = agent.send(CMQCFC.MQCMD_INQUIRE_Q_NAMES, parameters);
     cfh = new MQCFH(responses[0]);
     if (cfh.reason == 0) {
       cfsl = new MQCFSL(responses[0]);
       for (int i = 0; i < cfsl.strings.length; i++) {
         System.out.println("Queue: " + cfsl.strings[i]);
       }
     }
     else {
       throw new MQException(cfh.compCode, cfh.reason, agent);
     }
     
    com.ibm.mq.pcf.PCFFilterParameter
    use PCFFilterParameter instead.
    com.ibm.mq.pcf.PCFHeader
    use PCFHeader instead.
    com.ibm.mq.pcf.PCFHeaderFactory
    use PCFHeaderFactory instead.
    com.ibm.mq.pcf.PCFMessage
    use PCFMessage instead.
    com.ibm.mq.pcf.PCFMessageAgent
    use PCFMessageAgent instead. The following example uses a PCFMessageAgent to obtain the list of local queues on the queue manager.
         import com.ibm.mq.pcf.*;
    
         ...
    
         try
         {
           PCFMessageAgent agent = new PCFMessageAgent ("localhost", 1414, "CLIENT");
           PCFMessage   request = new PCFMessage (CMQCFC.MQCMD_INQUIRE_Q_NAMES);
    
           request.addParameter (CMQC.MQCA_Q_NAME, "*");
           request.addParameter (CMQC.MQIA_Q_TYPE, MQC.MQQT_LOCAL);
    
           PCFMessage []   responses = agent.send (request);
           String []   names = (String []) responses [0].getParameterValue (CMQCFC.MQCACF_Q_NAMES);
    
           for (int i = 0; i < names.length; i++)
           {
             System.out.println ("Queue: " + names [i]);
           }
         }
    
         catch (PCFException pcfe)
         {
           System.err.println ("PCF error: " + pcfe);
         }
    
         catch (MQException mqe)
         {
           System.err.println (mqe);
         }
    
         catch (IOException ioe)
         {
           System.err.println (ioe);
         }
    
     
    com.ibm.mq.pcf.PCFParameter
    use PCFParameter instead.
(c) Copyright IBM Corp. 2008, 2016. All Rights Reserved.