def _prm_write_into_other_array(self, key, data, group, fullname,<EOL>flag, **kwargs):
try:<EOL><INDENT>if flag == HDF5StorageService.CARRAY:<EOL><INDENT>factory = self._hdf5file.create_carray<EOL><DEDENT>elif flag == HDF5StorageService.EARRAY:<EOL><INDENT>factory = self._hdf5file.create_earray<EOL><DEDENT>elif flag == HDF5StorageService.VLARRAY:<EOL><INDENT>factory = self._hdf5file.create_vlarray<EOL><DEDENT>else:<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>if key in group:<EOL><INDENT>raise ValueError(<EOL>'<STR_LIT>')<EOL><DEDENT>if '<STR_LIT>' in kwargs:<EOL><INDENT>filters = kwargs.pop('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>filters = self._all_get_filters(kwargs)<EOL><DEDENT>try:<EOL><INDENT>other_array = factory(where=group, name=key, obj=data,<EOL>filters=filters, **kwargs)<EOL><DEDENT>except (ValueError, TypeError) as exc:<EOL><INDENT>try:<EOL><INDENT>conv_data = data[:]<EOL>conv_data = np.core.defchararray.encode(conv_data, self.encoding)<EOL>other_array = factory(where=group, name=key,<EOL>obj=conv_data,<EOL>filters=filters, **kwargs)<EOL><DEDENT>except Exception:<EOL><INDENT>raise exc<EOL><DEDENT><DEDENT>if data is not None:<EOL><INDENT>self._all_set_attributes_to_recall_natives(data, other_array,<EOL>HDF5StorageService.DATA_PREFIX)<EOL><DEDENT>setattr(other_array._v_attrs, HDF5StorageService.STORAGE_TYPE, flag)<EOL>self._hdf5file.flush()<EOL><DEDENT>except:<EOL><INDENT>self._logger.error('<STR_LIT>' % (flag, key, fullname))<EOL>raise<EOL><DEDENT>
Stores data as carray, earray or vlarray depending on `flag`.

        :param key:

            Name of data item to store

        :param data:

            Data to store

        :param group:

            Group node where to store data in hdf5 file

        :param fullname:

            Full name of the `data_to_store`s original container, only needed for throwing errors.

        :param recall:

            If container type and data type for perfect recall should be stored

        :param flag:

            How to store:
                CARRAY, EARRAY, VLARRAY