code: final void setCcsid(Object value) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "setCcsid", value);
  
          // If the value is null, then clear the field
          if (value == null) {
              jmo.getPayloadPart().setField(JsPayloadAccess.CCSID, JsPayloadAccess.IS_CCSID_EMPTY);
          }
          // If it is an Integer, then we just store it
          else if (value instanceof Integer) {
              jmo.getPayloadPart().setField(JsPayloadAccess.CCSID_DATA, value);
          }
          // If it is a String (most likely) we have to convert it into an int value first
          /*
           * else if (value instanceof String) {
           * try {
           * int ccsid = CCSID.getCCSID((String)value);
           * jmo.getPayloadPart().setIntField(JsPayloadAccess.CCSID_DATA, ccsid);
           * }
           * catch (UnsupportedEncodingException e) {
           * // FFDC it, then clear the field
           * FFDCFilter.processException(e, "com.ibm.ws.sib.mfp.impl.JsApiHdrsImpl.setCcsid", "866");
           * jmo.getPayloadPart().setField(JsPayloadAccess.CCSID, JsPayloadAccess.IS_CCSID_EMPTY);
           * }
           * }
           */
          // If it isn't of a suitable type, clear the field
          else {
              jmo.getPayloadPart().setField(JsPayloadAccess.CCSID, JsPayloadAccess.IS_CCSID_EMPTY);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "setCcsid");
      }
docs: Set the contents of the ccsid field in the message payload part.
  d395685
  
  @param value the Object value of the CharacterSetID to be set into the ccsid field