Environment variable %COMPUTERNAME% into a txt cube

Nathan
Nathan Active Partner
First Comment Level 200: Building A Planning Solution in Board

Hello,

I'm trying to get the returning value of %COMPUTERNAME% variable in a data flow. I tried to the following solution :

  • %COMPUTERNAME% and "%COMPUTERNAME%" in the target section and in an algorithm
  • @COMPUTERNAME and "@COMPUTERNAME" in the target section and in an algorithm
  • Using the ETL in a datareader with :
    • %COMPUTERNAME%
    • "%COMPUTERNAME%"
    • @COMPUTERNAME
    • "@COMPUTERNAME"

None of the above tries worked. Do you have any solution ?

USE CASE : I export a dataset with a dynamic path using %COMPUTERNAME%. I would like to feed a blob cube with this patch. So, I have multiple instance, dev_1, dev_2 and prod and would like the blob cube to be feed automatically without changing the instance name when migrating from an instance to another.

Thank you very much,

Answers