Automatically/manually run chore producess different values
Posted: Fri Apr 20, 2012 5:25 am
Hi,
I am facing a strange problem in TM1. Processes to create a cube is scheduled (chore) at night. When I check the data from TM1 cube in the morning and compare the data to warehouse I see the data in cube are wrong - they are always little bit bigger that it should be. If I manually run a chore at the morning then there are correct values in cube. This is very strange to me.
In processes of building cube all dimensions are unique to this cube. Dimensions are created with recreate option and cube is emptied with CubeClearData command before new data are loaded into cube. Cube is created with update option. This cube has no rules and no views.
I have written a SQL batch job to check the data in source table (from witch TM1 processes are accessing data to build this cube) every 5 minutes and data are changed once per night and there are NEWER the values that appear after chore is automatically run in the night. Any idea what could be wrong?
My system:
- Cognos BI v8.4.1 fixpack 3 Report Studio as reporting tool accessing cubes
- TM1 v9.5.2 (without fixes) as cube server
P.S. Bellow is process affecting update cube operation.
Thanks
Prolog
Metadata
Data
Epilog
The only process that I can imagine that could influence the cube is and run after above processes (saving all the data after night load of data).
Prolog
I am facing a strange problem in TM1. Processes to create a cube is scheduled (chore) at night. When I check the data from TM1 cube in the morning and compare the data to warehouse I see the data in cube are wrong - they are always little bit bigger that it should be. If I manually run a chore at the morning then there are correct values in cube. This is very strange to me.
In processes of building cube all dimensions are unique to this cube. Dimensions are created with recreate option and cube is emptied with CubeClearData command before new data are loaded into cube. Cube is created with update option. This cube has no rules and no views.
I have written a SQL batch job to check the data in source table (from witch TM1 processes are accessing data to build this cube) every 5 minutes and data are changed once per night and there are NEWER the values that appear after chore is automatically run in the night. Any idea what could be wrong?
My system:
- Cognos BI v8.4.1 fixpack 3 Report Studio as reporting tool accessing cubes
- TM1 v9.5.2 (without fixes) as cube server
P.S. Bellow is process affecting update cube operation.
Thanks
Prolog
Code: Select all
CubeClearData('NAROCILA');
#****Begin: Generated Statements***
OldCubeLogChanges = CUBEGETLOGCHANGES('NAROCILA');
CUBESETLOGCHANGES('NAROCILA', 0);
VIEWZEROOUT('NAROCILA','EmptyCube');
#****End: Generated Statements****
Code: Select all
#****Begin: Generated Statements***
#****End: Generated Statements****
Code: Select all
#****Begin: Generated Statements***
CellPutN(NAROCENO,'NAROCILA',STATUS_NAROCILA,STATUS_OBDELAVE_NAROCILA,KOMERCIALIST,STANJE_MATERIALA,STANJE_POVRSINE,SISTEM_IMPOL,NACIN_OBDELAVE,IZDELE
K,KOTE,ZATE,ZLITINA,KUPEC,PREJEMNIK,POREKLO,LME_FORMULA,'NAROČENA KOL');
CellPutN(IZDELANO,'NAROCILA',STATUS_NAROCILA,STATUS_OBDELAVE_NAROCILA,KOMERCIALIST,STANJE_MATERIALA,STANJE_POVRSINE,SISTEM_IMPOL,NACIN_OBDELAVE,IZDELE
K,KOTE,ZATE,ZLITINA,KUPEC,PREJEMNIK,POREKLO,LME_FORMULA,'IZDELANA KOL');
CellPutN(NEIZDELANO,'NAROCILA',STATUS_NAROCILA,STATUS_OBDELAVE_NAROCILA,KOMERCIALIST,STANJE_MATERIALA,STANJE_POVRSINE,SISTEM_IMPOL,NACIN_OBDELAVE,IZDE
LEK,KOTE,ZATE,ZLITINA,KUPEC,PREJEMNIK,POREKLO,LME_FORMULA,'NEIZDELANA KOL');
CellPutN(POTREBNA_SUROVINA,'NAROCILA',STATUS_NAROCILA,STATUS_OBDELAVE_NAROCILA,KOMERCIALIST,STANJE_MATERIALA,STANJE_POVRSINE,SISTEM_IMPOL,NACIN_OBDELA
VE,IZDELEK,KOTE,ZATE,ZLITINA,KUPEC,PREJEMNIK,POREKLO,LME_FORMULA,'POTREBNA SUROVINA');
#****End: Generated Statements****
Code: Select all
#****Begin: Generated Statements***
CUBESETLOGCHANGES('NAROCILA', OldCubeLogChanges);
#****End: Generated Statements****
Prolog
Code: Select all
SaveDataAll;
#****Begin: Generated Statements***
#****End: Generated Statements****