COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Transformer => Topic started by: damzI on 21 Mar 2017 02:34:16 PM

Title: Looking for a Shell script to change .mdc file name based on the .vcd name
Post by: damzI on 21 Mar 2017 02:34:16 PM
Hello All,
This should really not be that difficult but I am stuck here.

I am using a shell script to build a partitioned cube (with ABC folder, ABC.mdc, ABC.vcd files).

Then I move the ABC folder and ABC.mdc to another folder with a pre-created XYZ.vcd file.
So now I need to rename the moved folder and .mdc files to XYZ and XYZ.mdc.

Any help on this will be great !
Thanks, D
Title: Re: Looking for a Shell script to change .mdc file name based on the .vcd name
Post by: bdbits on 22 Mar 2017 09:35:07 AM
You'd be a lot better off using the copy and activation features built in to Transformer.