SET COPYMISSINGBLOK

English (Español a continuación)

This command determines that DATACOPY does not create empty blocks when it copies blocks from a sparse dimension.

  • If there are blocks with #missing value in the source region, by default DATACOPY creates empty blocks in the target region.

To avoid this (populate the target region with empty blocks that increase the size of the database and slow down the calculations) we can use the COPYMISSINGBLOK command.

This command is included in the calculation script and presents 2 options: SET COPYMISSINGBLOK ON / OFF:

  • ON: It is the default value; DATACOPY copies empty blocks.
  • OFF: DATACOPY does not copy empty blocks.

When the OFF option is selected you can consult in the log the number of copied blocks, as well as the empty blocks that have not been copied.

For example:

  • Datacopy command copied [2] source data blocks to [1] target data blocks
  • Datacopy command skipped creating [1] target data blocks with CopyMissingBlock OFF

Español

Este comando determina que el comando DATACOPY no cree bloques vacíos cuando copia bloques de una dimensión dispersa.

  • Si en la región origen hay bloques con valor #missing, por defecto el comando DATACOPY crea bloques vacíos en la región destino.

Para evitar esto (poblar la región destino con bloques vacíos que aumentan el tamaño de la base y ralentizan los cálculos) podemos utilizar el comando COPYMISSINGBLOK.

Este comando se incluye en el script de cálculo y presenta 2 opciones: SET COPYMISSINGBLOK ON / OFF:

  • ON: Es el valor por defecto; el comando DATACOPY copia los bloques vacíos.
  • OFF: El comando DATACOPY no copia los bloques vacíos

Cuando se selecciona la opción OFF en el log se puede consultar el número de bloques copiados, así como los bloques vacíos que no se han copiado.

Por ejemplo:

  • Datacopy command copied [2] source data blocks to [1] target data blocks
  • Datacopy command skipped creating [1] target data blocks with CopyMissingBlock OFF
Anuncio publicitario