def METHOD_NAME(self, prodID, status):
    """Sets the status of a production
    :param int prodID: the ProductionID
    :param str status: the production status to be set to the prodID
    """
    rpcClient = self._getRPC()
    # Apply the production state machine
    res = self._applyProductionStatusStateMachine(prodID, status, force=False)
    if not res["OK"]:
        return res
    newStatus = res["Value"]
    if newStatus != status:
        return S_ERROR("Cannot change status")
    return rpcClient.METHOD_NAME(prodID, status)