English (Español a continuación)
Members can appear in the Report Script with their name, their alias, or both.
Listed below are different commands that can be used to define this property:
- They can be placed at the top of the Report Script so that it applies to all its members (on pages, columns and rows), or they can also be included within these sections so that it applies to the members below them.
- In a Report Script, more than one of these commands can be used: each of them is applied to the members below it until reaching the new command that changes the configuration.
1.- OUTMBRNAMES
This command is used to display the name of the members.
- It’s the default option.
Can be applied to Pages / Columns / Rows members.
Its syntax is:
- {OUTMBRNAMES}
If {OUTALTNAMES}, which displays aliases, was previously used, this command displays the names again.
In a Report Script you can alternate this command with {OUTALTNAMES}:
- Applies to members below it until the new command is included.
This command cannot be used with outlines that allow duplicate names.
- In these cases, you have to use the command {REPMBR}
2.- OUTALTNAMES
This command is used to display aliases instead of member names.
- By default, Essbase displays member names.
Can be applied to Pages / Columns / Rows members.
Its syntax is:
- {OUTALTNAMES}
Characteristic:
a) This command cannot be used with outlines that allow duplicate names.
- In these cases, you have to use the command {REPALIAS}
b) This command can be used in conjunction with the commands:
b.1.- OUTMBRALT
This command uses as alias the member’s name followed by its alias.
Syntax:
- <OUTMBRALT
It is placed after the OUTALTNAMES command:
- {OUTALTNAMES}
- <OUTMBRALT
Example: suppose a member of the product dimension:
- Name: AK_345
- Alias: “Sports watch”
In the Report Script it will appear with the alias:
- “AK_345 Sports Watch”
This command cannot be used with outlines that allow duplicate names.
- In these cases, you have to use the command {REPMBRALIAS}
b.2.- OUTALTMBR
This command uses as alias the alias followed by the name.
Syntax:
- <OUTALTMBR
It is placed after the OUTALTNAMES command:
- {OUTALTNAMES}
- <OUTALTMBR
In the example above, this member will appear in the Report Script with the alias:
- “Sports watch AK_345”
This command cannot be used with outlines that allow duplicate names.
- In these cases, you have to use the command {REPALIAMBR}
b.3.- OUTALT
This command is used to reapply the alias table in the Report Script after using some of the previous commands (OUTMBRALT / OUTALTMBR).
Syntax:
- <OUTALT
Example:
- {OUTALTNAMES}
- <OUTALTMBR
- …
- …
- <OUTALT
c) In a Report Script you can alternate the {OUTALTNAMES} command with the {OUTMBRNAMES} command:
- Applies to members below it until the new command is included.
4.- REPMBR
This command displays members by name and can be used with outlines that allow duplicate names.
- Unlike the OUTMBRNAMES command.
Its syntax is:
- <REPMBR “Dimension name”
Dimension Name: Dimension whose members will be affected by this command.
To apply it to all dimensions:
- <REPMBR “”
It is also possible to use it more than once to select different dimensions:
- <REPMBR “Dimension 1º”
- <REPMBR “Dimension 2º”
- <REPMBR…
This command is used after the commands:
- REPALIAS / REPALIAS / REPALIASMBR
With the intention that the members of the specified dimension are displayed by name.
- Which is the default option.
The <REPMBR command cannot be used with the following commands:
- OUTMBRNAMES
- OUTALT NAMES
- OUTMBRALT
- OUTALTMBR
- OUTALT
5.- REPALIAS
This command uses the aliases in the Report Script and can be used with outlines that allow duplicate names.
- Unlike the OUTALTNAMES command.
Its syntax is:
- <REPALIA “Dimension name”
Dimension Name: Dimension whose members will be affected by this command.
To apply it to all dimensions:
- <REPALIAS “”
It is also possible to use it more than once to select different dimensions:
- <REPALIAS “Dimension 1º”
- <REPALIAS “Dimension 2º”
- <REPALIAS…
Aliases from the alias table are displayed by default, unless the <OUTALTSELECT command has been used.
The <REPALIAS command cannot be used with the following commands:
- OUTMBRNAMES
- OUTALTNAMES
- OUTMBRALT
- OUTALTMBR
- OUTALT
6.- REPMBRALIAS
This command displays the members in the Report Script with the name followed by its alias and can be used with outlines that allow duplicate names.
- Unlike the OUTMBRALT command.
Its syntax is:
- <REPMBRALIAS “Dimension name”
Dimension Name: Dimension whose members will be affected by this command.
To apply it to all dimensions:
- <REPMBRALIAS “”
It is also possible to use it more than once to select different dimensions:
- <REPMBRALIAS “Dimension 1º”
- <REPMBRALIAS “Dimension 2º”
- <REPMBRALIAS …
Aliases from the alias table are displayed by default, unless the <OUTALTSELECT command has been used.
The <REPMBRALIAS command cannot be used with the following commands:
- OUTMBRNAMES
- OUTALTNAMES
- OUTMBRALT
- OUTALTMBR
- OUTALT
- RENAME
7.- REPALIASMBR
This command displays the members in the Report Script with their alias followed by their name and can be used with outlines that allow duplicate names.
- Unlike the OUTALTMBR command.
Its syntax is:
- <REPALIAMBR “Dimension name”
Dimension Name: Dimension whose members will be affected by this command.
To apply it to all dimensions:
- <REPALIAMBR “”
It is also possible to use it more than once to select different dimensions:
- <REPALIAMBR “Dimension 1º”
- <REPALIAMBR “Dimension 2º”
- <REPALIAMBR …
Aliases from the alias table are displayed by default, unless the <OUTALTSELECT command has been used.
The <REPALIAMBR command cannot be used with the following commands:
- OUTMBRNAMES
- OUTALTNAMES
- OUTMBRALT
- OUTALTMBR
- OUTALT
- RENAME
8.- OUTALTSELECT
This command allows to select the alias table to be used in the Report Script.
- If this command is not applied, Essbase uses the alias table by default.
Syntax:
- <OUTALTSELECT “Table name”
The selected alias table is the one used until a new table is selected using this command again.
For example, if you want to use the default table again:
- <OUTALTSELECT Default
9.- REPQUALMBR
Shows the member by name, except for duplicate names where it shows their qualified name.
Syntax:
- <REPQUALMBR “Dimension name”
Dimension Name: Name of the dimension to which it applies.
To apply it to all dimensions:
- <REPQUALMBR “”
This command applies exclusively to outlines that allow duplicate names.
10.- RENAME
With this command you can replace in the Report Script the name that a member has in the outline by another name.
Syntax is:
- {RENAME “New name”} “Name in the outline”
New name: must be between “ “.
Example:
- {RENAME “Year 2016”}2016
The member «2016» of the «Years» dimension is replaced in the Report Script by «Year 2016».
This command cannot be used with:
- REPMBRALIAS
- REPALIASMBR
11.- QUOTEMBERNAMES
With this command all names / aliases (in pages / columns / rows) are presented between » «.
Its syntax is:
- <QUOTEMBRNAMES
This command is placed at the top of the Report Script.
Español
Los miembros pueden aparecer en el Report Script con su nombre, su alias o con ambos.
A continuación se relacionan diferentes comandos que se pueden utilizar para definir esta propiedad:
- Se pueden situar en la parte superior del Report Script para que se aplique a todos sus miembros (en páginas, columnas y filas), o también se pueden incluir dentro de estas secciones para que se aplique a los miembros que tengan por debajo.
- En un Report Script se pueden utilizar más de uno de estos comandos: cada uno de ellos se aplica a los miembros que tenga por debajo hasta llegar al nuevo comando que cambie la configuración.
1.- OUTMBRNAMES
Este comando se utiliza para presentar el nombre de los miembros.
- Es la opción por defecto.
Se puede aplicar a miembros de Páginas / Columnas / Filas.
Su sintaxis es:
- {OUTMBRNAMES}
Si se ha utilizado previamente {OUTALTNAMES}, que muestra los alias, con este comando se vuelven a mostrar los nombres.
En un Report Script se puede alternar este comando con {OUTALTNAMES}:
- Se aplica a los miembros que tenga por debajo hasta que el otro comando se incluya.
Este comando no se puede utilizar con outlines que permitan nombres duplicados.
- En estos casos hay que utilizar el comando {REPMBR}
2.- OUTALTNAMES
Este comando se utiliza para presentar los alías en lugar del nombre de los miembros.
- Por defecto Essbase muestra los nombres de los miembros.
Se puede aplicar a miembros de Páginas / Columnas / Filas.
Su sintaxis es:
- {OUTALTNAMES}
Características:
a) Este comando no se puede utilizar con outlines que permitan nombres duplicados.
- En estos casos hay que utilizar el comando {REPALIAS}
b) Este comando se puede utilizar conjuntamente con los comandos:
b.1.- OUTMBRALT
Este comando utiliza como alias el nombre del miembro seguido por su alias.
Sintaxis:
- <OUTMBRALT
Se sitúa a continuación del comando OUTALTNAMES:
- {OUTALTNAMES}
- <OUTMBRALT
Ejemplo: supongamos un miembro de la dimensión producto:
- Nombre: AK_345
- Alias: “Reloj deportivo”
En el Report Script va a aparecer con el alias:
- “AK_345 Reloj deportivo”
Este comando no se puede utilizar con outlines que permitan nombres duplicados.
- En estos casos hay que utilizar el comando {REPMBRALIAS}
b.2.- OUTALTMBR
Este comando utiliza como alias el alias seguido por el nombre.
Sintaxis:
- <OUTALTMBR
Se sitúa a continuación del comando OUTALTNAMES:
- {OUTALTNAMES}
- <OUTALTMBR
En el ejemplo anterior, este miembro aparecerá en el Report Script con el alias:
- “Reloj deportivo AK_345”
Este comando no se puede utilizar con outlines que permitan nombres duplicados.
- En estos casos hay que utilizar el comando {REPALIASMBR}
b.3.- OUTALT
Este comando se utiliza para volver a aplicar en el Report Script la tabla de alias después de haber utilizado algunos de los comandos anteriores (OUTMBRALT / OUTALTMBR).
Sintaxis:
- <OUTALT
Ejemplo:
- {OUTALTNAMES}
- <OUTALTMBR
- …
- …
- <OUTALT
c) En un Report Script se puede alternar el comando {OUTALTNAMES} con el comando {OUTMBRNAMES}:
- Se aplica a los miembros que tenga por debajo hasta que el otro comando se incluya.
4.- REPMBR
Este comando muestra los miembros por su nombre y se puede utilizar con outlines que permitan nombres duplicados.
- A diferencia del comando OUTMBRNAMES
Su sintaxis es:
- <REPMBR “Nombre dimensión”
Nombre dimensión: dimensión a cuyos miembros se va a aplicar este comando.
Para aplicarlo a todas Las dimensiones:
- <REPMBR “”
También cabe la posibilidad de utilizarlo más de una vez para recoger diferentes dimensiones:
- <REPMBR “Nombre dimensión 1”
- <REPMBR “Nombre dimensión 2”
- <REPMBR …
Este comando se utiliza después de los comandos:
- REPALIAS / REPMBRALIAS / REPALIASMBR
Con la intención de que los miembros de la dimensión especificada se muestren por el nombre.
- Que es la opción por defecto.
El comando <REPMBR no se puede utilizar con los siguientes comandos:
- OUTMBRNAMES
- OUTALTNAMES
- OUTMBRALT
- OUTALTMBR
- OUTALT
5.- REPALIAS
Este comando utiliza los alias en el Report Script y se puede utilizar con outlines que permitan nombres duplicados.
- A diferencia del comando OUTALTNAMES
Su sintaxis es:
- <REPALIAS “Nombre dimensión”
Nombre dimensión: dimensión a cuyos miembros se va a aplicar este comando.
Para aplicarlo a todas Las dimensiones:
- <REPALIAS “”
También cabe la posibilidad de utilizarlo más de una vez para recoger diferentes dimensiones:
- <REPALIAS “Nombre dimensión 1”
- <REPALIAS “Nombre dimensión 2”
- <REPALIAS …
Se muestran los alias de la tabla de alias por defecto, salvo que se haya utilizado el comando <OUTALTSELECT
El comando <REPALIAS no se puede utilizar con los siguientes comandos:
- OUTMBRNAMES
- OUTALTNAMES
- OUTMBRALT
- OUTALTMBR
- OUTALT
6.- REPMBRALIAS
Este comando muestra los miembros en el Report Script con el nombre seguido por su alias y se puede utilizar con outlines que permitan nombres duplicados.
- A diferencia del comando OUTMBRALT
Su sintaxis es:
- <REPMBRALIAS “Nombre dimensión”
Nombre dimensión: dimensión a cuyos miembros se va a aplicar este comando.
Para aplicarlo a todas Las dimensiones:
- <REPMBRALIAS “”
También cabe la posibilidad de utilizarlo más de una vez para recoger diferentes dimensiones:
- <REPMBRALIAS “Nombre dimensión 1”
- <REPMBRALIAS “Nombre dimensión 2”
- <REPMBRALIAS …
Se muestran los alias de la tabla de alias por defecto, salvo que se haya utilizado el comando <OUTALTSELECT
El comando <REPMBRALIAS no se puede utilizar con los siguientes comandos:
- OUTMBRNAMES
- OUTALTNAMES
- OUTMBRALT
- OUTALTMBR
- OUTALT
- RENAME
7.- REPALIASMBR
Este comando muestra los miembros en el Report Script con su alias seguido por su nombre y se puede utilizar con outlines que permitan nombres duplicados.
- A diferencia del comando OUTALTMBR
Su sintaxis es:
- <REPALIASMBR “Nombre dimensión”
Nombre dimensión: dimensión a cuyos miembros se va a aplicar este comando.
Para aplicarlo a todas Las dimensiones:
- <REPALIASMBR “”
También cabe la posibilidad de utilizarlo más de una vez para recoger diferentes dimensiones:
- <REPALIASMBR “Nombre dimensión 1”
- <REPALIASMBR “Nombre dimensión 2”
- <REPALIASMBR …
Se muestran los alias de la tabla de alias por defecto, salvo que se haya utilizado el comando <OUTALTSELECT
El comando <REPALIASMBR no se puede utilizar con los siguientes comandos:
- OUTMBRNAMES
- OUTALTNAMES
- OUTMBRALT
- OUTALTMBR
- OUTALT
- RENAME
8.- OUTALTSELECT
Este comando permite seleccionar la tabla de alias que se utiliza en el Report Script.
- Si no se aplica este comando Essbase utiliza la tabla de alias por defecto.
Sintaxis:
- <OUTALTSELECT “Nombre de la tabla”
La tabla se alias seleccionada es la que se utiliza hasta que una nueva tabla es seleccionada utilizando nuevamente este comando.
Por ejemplo, si se quiere utilizar nuevamente la tabla por defecto:
- <OUTALTSELECT Default
9.- REPQUALMBR
Muestra el miembro por su nombre, salvo en caso de nombres duplicados en los que muestra su nombre cualificado.
Sintaxis:
- <REPQUALMBR “Nombre dimensión”
Nombre dimensión: nombre de la dimensión a la que se aplica.
Para aplicarlo a todas Las dimensiones:
- <REPQUALMBR “”
Este comando se aplica exclusivamente a outlines que permitan nombres duplicados.
10.- RENAME
Con este comando se puede sustituir en el Report Script el nombre que un miembro tiene en el outline por otro nombre.
Sintaxis es:
- {RENAME “Nuevo nombre”} “Nombre en el outline”
Nuevo nombre: debe ir entre “ “.
Ejemplo:
- {RENAME “Año 2016”}2016
El miembro “2016” de la dimensión “Años” se modifica en el Report Script por “Año 2016”.
Este comando no se puede utilizar con:
- REPMBRALIAS
- REPALIASMBR
11.- QUOTEMBRNAMES
Este comando se utiliza para que todos los nombres / alias (páginas / columnas / filas) se presenten entre “ “.
Su sintaxis es:
- <QUOTEMBRNAMES
Este comando se sitúa en la parte superior del Report Script.