Deadlock error in essbase

i fired 6 sequnces simoultaneously for 6 diffrent entities(sparse dimension) out of which the three got executed , two ended in error and the error message is
Detail:Cannot calculate. Analytic Server Error(1014027): Transaction [0x705d4] is deadlocked with transaction [0x805d6].
and the last one is still running but when i checked in the sessions no calculation is going on for this 6th entity.
what could be the possible solution for this one. one thing i dnt understand is that all the entities are diffrent so why would this dead lock be happening and i dnt think any blocks could possibaly be same for the calculations.
please help and thanks in advance.

Here goes
SET AGGMISSG ON ;
SET CACHE HIGH ;
SET CLEARUPDATESTATUS OFF ;
/*SET CREATEBLOCKONEQ ON ;*/
SET LOCKBLOCK HIGH ;
SET UPDATECALC OFF ;
SET CREATENONMISSINGBLK OFF ;
/*rectification by javed dongles and 3g*/
Fix ( [V_YEAR_AOP], "Absolute", "Periodic", @Remove ( @Relative ( [V_Cir], 0 ), @List ( @Match ( Entity, "Elm*" ))), [V_SCN_AOP], [V_VER_AOPMIS])
Fix ( "CC000" )
Loop(12)
Fix ( @Uda ( "Period", [V_SCN_AOP] ))
/* This is to be made active for FY13*/
/*Fix ( "P101", "P102", "P103", "P104","G101", "G102", "G104","P191","P192","P194","G191","G192","G194" )
"A1023"
If ( @Ismbr ( "Apr" ))
"A1023" = @Prior ( "A1024" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" )) ;
Else
"A1023" = @Prior ( "A1024" ) ;
Endif ;
Endfix; */
/* This is to be made active for FY13*/
Fix ("P103")
"A1023"
If ( @Ismbr ( "Apr" ))
"A1023" = #missing ;
Else
"A1023" = @Prior ( "A1024" ) ;
Endif ;
Endfix;
Fix ( "G191", "G192", "G194", "P191", "P192", "P194" )
"A1023"
If ( Not @Ismbr ( "Apr" ))
"A1023" = @Prior ( "A1024" ) ;
Endif ;
Endfix;
/* This code has to be removed before FY13 (Begins)*************************************************************/
Fix ( "P101")
"A1023"
If ( @Ismbr ( "Apr" ))
"A1023" = (((@Prior ( "A1024" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" ))) - ("A1023" -> "P191") + (@Prior ( "A1024" -> "Mar" -> "P191" ->[V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" ))) )) ;
Else
"A1023" = @Prior ( "A1024" ) ;
Endif ;
Endfix;
Fix ( "P102")
"A1023"
If ( @Ismbr ( "Apr" ))
"A1023" = (((@Prior ( "A1024" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" ))) -
("A1023" -> "P192") + (@Prior ( "A1024" -> "Mar" -> "P192" ->[V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" ))) +
(@Prior ( "A1024" -> "Mar" -> "P103" ->[V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" )) ))) ;
Else
"A1023" = @Prior ( "A1024" ) ;
Endif ;
Endfix;
Fix ( "P104")
"A1023"
If ( @Ismbr ( "Apr" ))
"A1023" = (((@Prior ( "A1024" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" ))) - ("A1023" -> "P194") + (@Prior ( "A1024" -> "Mar" -> "P194" ->[V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" )) ) )) ;
Else
"A1023" = @Prior ( "A1024" ) ;
Endif ;
Endfix;
Fix ( "G101")
"A1023"
If ( @Ismbr ( "Apr" ))
"A1023" = (((@Prior ( "A1024" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" ))) - ("A1023" -> "G191") + (@Prior ( "A1024" -> "Mar" -> "G191" ->[V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" )) ) )) ;
Else
"A1023" = @Prior ( "A1024" ) ;
Endif ;
Endfix;
Fix ( "G102")
"A1023"
If ( @Ismbr ( "Apr" ))
"A1023" = (((@Prior ( "A1024" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" ))) - ("A1023" -> "G192") + (@Prior ( "A1024" -> "Mar" -> "G192" ->[V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" )) ) )) ;
Else
"A1023" = @Prior ( "A1024" ) ;
Endif ;
Endfix;
Fix ( "G104")
"A1023"
If ( @Ismbr ( "Apr" ))
"A1023" = (((@Prior ( "A1024" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" ))) - ("A1023" -> "G194") + (@Prior ( "A1024" -> "Mar" -> "G194" ->[V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" )) ) )) ;
Else
"A1023" = @Prior ( "A1024" ) ;
Endif ;
Endfix;
/* This code has to be removed before FY13 (ENDS) ***********************************************************/
Fix ( "P000" )
/*Subscribers Planning Starts Here*/
"A1002" = "A1000" * "A1001" ;
"A1004" = "A1000" * "A1003" ;
"A1006"
If ( @Ismbr ( "Apr" ))
"A1007" = "A1006"->"No Product" + @Prior ( "A1007" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP], 1 , @Children ( "Year" )) ;
"A1005" = "A1006"->"No Product" / ( "A1004" - @Prior ( "A1004" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" ))) ;
Else
"A1007" = "A1006" ->"No Product" + @Prior ( "A1007" ) ;
"A1005" = "A1006" ->"No Product" / ( "A1004" - @Prior ( "A1004" )) ;
Endif ;
"A1006" = "A1006" ->"No Product" - "A1786";
/*Inroamer Subscribers % Calculation Starts Here*/
"A1033" = "A1007" / "A1004" ;
"A1785"
if(@ismbr("Apr"))
"A1785" = "A1007" * "A1782" * "A1783" * "A1784" - ( @Prior ( "A1007" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP], 1 , @Children ( "Year" ))* @Prior ( "A1782" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP], 1 , @Children ( "Year" )) * @Prior ( "A1783" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP], 1 , @Children ( "Year" )) *@Prior ( "A1784" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP], 1 , @Children ( "Year" )) );
else
"A1785" = "A1007" * "A1782" * "A1783" * "A1784" - ( @Prior("A1007") * @Prior("A1782") * @Prior("A1783") * @Prior("A1784") );
endif;
"A1787"
If(@Ismbr("Apr"))
"A1787" = @Prior ( "A1787" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP], 1 , @Children ( "Year" )) + "A1785" + "A1786" ;
/*"A1787" = "A1785" + "A1786" ;*/
else
"A1787" = @Prior("A1787") + "A1785" + "A1786" ;
/*"A1787" = "A1785" + "A1786" ;*/
endif;
"A1780" = "A1000" * "A1777" * "A1778" * "A1779" ;
"A1781"
If(@Ismbr("Apr"))
"A1781" = "A1780" - ("A1023" -> "P191" + "A1023" -> "P192" + "A1023" -> "P194" + "A1023" -> "G191" + "A1023" -> "G192" + "A1023" -> "G194") ;
else
"A1781" = "A1780" - @Prior("A1780") ;
endif;
"A1798" = "A1781" - "A1797"; /*book mark last */
Endfix;
Fix("P000","G000")
"A1069" = 1 - "A1059" ;
"A1063" = 1 - "A1061" ;
"A1067" = 1 - "A1065" ;
/*Inroamer Subscribers % Calculation Ends Here*/
/*Outroamer Subscribers % Starts Here*/
"A1077" = 1 - "A1072" ;
"A1074" = 1 - "A1073" ;
"A1084" = 1 - "A1079" ;
"A1081" = 1 - "A1080" ;
"A1091" = 1 - "A1086" ;
"A1088" = 1 - "A1087" ;
"A1098" = 1 - "A1093" ;
"A1095" = 1 - "A1094" ;
/*Outroamer Subscribers % Ends Here*/
Endfix ;/*book mark last*/
Fix ( "A1014" )
"P102" = ( "P000" -> "A1006" ) - "P101" - "P103" - "P104" ;
"P192" = "P000" -> "A1797" - "P191" - "P194";
"G102" = ( "P000" -> "A1786") - "G101" - "G104" ;
"G192" = ("P000" -> "A1798") - "G191" - "G194"; /* book mark till here */
Endfix ;
/* Fix ( "P101", "P102", "P103", "P104","G101", "G102", "G104","P191","P192","P194","G191","G192","G194" )
"A1023"
If ( @Ismbr ( "Apr" ))
"A1023" = @Prior ( "A1024" -> "Mar" -> [V_SCN_CLS_AOP] -> [V_VER_CLS_AOP] , 1 , @Children ( "Year" )) ;
Else
"A1023" = @Prior ( "A1024" ) ;
Endif ;
Endfix; */ /*temp nullified*/
Fix ( "P101", "P102", "P103", "P104","G101", "G102", "G104")
Loop (12)
"A1016"
if(@ISDESC("2G"))
"A1016" -> "P101" = ( "A1023" -> "P101" ) * ( "A1008" -> "P000" ) ;
"A1017" -> "P101" = ( "A1023" -> "P101" ) * ( "A1013" -> "P000" ) ;
"A1041" -> "P102" = ( "A1023" -> "P102" ) * ( "A1010" -> "P000" ) ;
"A1042" -> "P102" = ( "A1023" -> "P102" ) * ( "A1011" -> "P000" ) ;
"A1037" -> "P104" = ( "A1023" -> "P104" ) * ( "A1012" -> "P000" ) ;
"A1038" -> "P104" = ( "A1023" -> "P104" ) * ( "A1009" -> "P000" ) ;
"A1019" -> "P101" = "A1041" -> "P102" ;
"A1020" -> "P101" = "A1037" -> "P104" ;
"A1043" -> "P102" = "A1016" -> "P101" ;
"A1044" -> "P102" = "A1038" -> "P104" ;
"A1039" -> "P104" = "A1017" -> "P101" ;
"A1040" -> "P104" = "A1042" -> "P102" ;
else
/* new code for 3G start */
"A1016" -> "G101" = ( "A1023" -> "G101" ) * ( "A1008" -> "G000" ) ;
"A1017" -> "G101" = ( "A1023" -> "G101" ) * ( "A1013" -> "G000" ) ;
"A1041" -> "G102" = ( "A1023" -> "G102" ) * ( "A1010" -> "G000" ) ;
"A1042" -> "G102" = ( "A1023" -> "G102" ) * ( "A1011" -> "G000" ) ;
"A1037" -> "G104" = ( "A1023" -> "G104" ) * ( "A1012" -> "G000" ) ;
"A1038" -> "G104" = ( "A1023" -> "G104" ) * ( "A1009" -> "G000" ) ;
"A1019" -> "G101" = "A1041" -> "G102" ;
"A1020" -> "G101" = "A1037" -> "G104" ;
"A1043" -> "G102" = "A1016" -> "G101" ;
"A1044" -> "G102" = "A1038" -> "G104" ;
"A1039" -> "G104" = "A1017" -> "G101" ;
"A1040" -> "G104" = "A1042" -> "G102" ;
/*new code for 3g end*/
endif; /*last bookark*/
Endloop;
Endfix;
/*last boomkark*/
/*forward for net mig in 3g/2g start*/
Fix("P102")
"A1763" = 1 - "A1763"->"P101" - "A1763"->"P104";
Endfix;
Fix("P102","P104","P101")
"A1765" = "A1763" * "A1785" ->"P000";
Endfix;
Fix("P191","P192","P194")
"A1765" = "A1023" * "A1763";
Endfix;
Fix("G101","G102","G104","G191","G192","G194")
"A1767"="A1023" * "A1764";
Endfix;
Fix("A1766")
"P101" = "A1767" ->"G101";
"P102" = "A1767" ->"G102";
"P104" = "A1767" ->"G104";
"P191" = "A1767" ->"G191";
"P192" = "A1767" ->"G192";
"P194" = "A1767" ->"G194";
Endfix;
Fix("G101")
Loop(12)
"A1768"
"A1768"="A1765"-> "P101";
"A1768"->"G102" ="A1765"->"P102";
"A1768"->"G104" ="A1765"->"P104";
"A1768"->"G191" ="A1765"->"P191";
"A1768"->"G192" ="A1765"->"P192";
"A1768"->"G194" ="A1765"->"P194";
Endloop
Endfix;*/
/*new code start*/
Fix("G101")
"A1768"="A1765"-> "P101";
Endfix;
Fix("G102")
"A1768"="A1765"->"P102";
Endfix;
Fix("G104")
"A1768" ="A1765"->"P104";
Endfix;
Fix("G191")
"A1768" ="A1765"->"P191";
Endfix;
Fix("G192")
"A1768"="A1765"->"P192";
Endfix;
Fix("G194")
"A1768" ="A1765"->"P194";
Endfix;
/*new code end*/
Fix ( "P101", "P102", "P103", "P104","G101", "G102", "G104","P191","P194","P192","G191","G192","G194")
@Idescendants("A1769");
Endfix;
/*forward for net mig in 3g/2g end*/
Fix ( "P101", "P102", "P103", "P104","G101", "G102", "G104","P194","P191","P192","G194","G192","G191")
@Idescendants("A1769");
"A1018" = @Sum ( @Children ( "A1018" )) ;
"A1021" = @Sum ( @Children ( "A1021" )) ;
"A1022" = "A1021" - "A1018" ;
"A1024" = "A1023" + "A1014" + "A1022" +"A1769";
"A1015"
if(@ISDESC("2G"))
"A1015" = "A1014" / ( "A1006" -> "P000" ) ;
if(@Ismbr("P191","P192","P194"))
"A1015" = "A1014"/"A1797" -> "P000";
endif;
else
"A1015" = "A1014" / ( "A1786" -> "P000" ) ; /*new code for 3g*/
if(@Ismbr("G191","G192","G194"))
"A1015" = "A1014" / "A1798" -> "P000" ;
endif;
endif;
"A1025" = ( "A1024" + "A1023" ) / 2 ;
/*"A1033" = "A1024" / ( "A1004" -> "P000" ) ;*/
"A1027"="A1026" * "A1025";
"A1773"="A1027" * "A1771";
"A1048" = "A1027" - "A1773" ;
"A1028" = "A1014" + "A1027";
"A1772" = "A1028" * "A1770";
"A1045" = "A1028" - "A1772" ;
/*last book mark with javed*/
"A1030" = "A1024" * "A1029" ;
"A1032" = "A1024" * "A1031" ;
"A1035" = "A1024" * "A1034" ;
"A1036" = "A1024" - "A1035" ;
@Idescendants ( "A1027" ) ;
@Idescendants ( "A1028" ) ;
/*"A1117" = ( "A1116" -> "P000" ) * "A1024" ;
"A1119" = ( "A1118" -> "P000" ) * "A1024" ;*/
Endfix ;
Fix ( "A1024", "A1025" )
@Idescendants ( "Postpaid & Prepaid" ) ;
@Idescendants ( "Postpaid & Prepaid 3G" ) ;/*new code for 3G*/
Endfix ;
Fix ( "P000","G000" )
"A1117"
if(@ISDESC("2G"))
"A1117" = "A1116" * ( "A1024" -> "Postpaid & Prepaid" ) ;
"A1119" = "A1118" * ( "A1024" -> "Postpaid & Prepaid" ) ;
else
"A1117" = "A1116" * ( "A1024" -> "Postpaid & Prepaid 3G" ) ;/*new code 3G*/
"A1119" = "A1118" * ( "A1024" -> "Postpaid & Prepaid 3G" ) ;/*new code 3G*/
endif;
Endfix ;
/*Subscribers Planning Ends Here*/
Fix ( "A1058" )
/*Inroamers Calculation Starts Here */
"P107" = "A1057" -> "P000" ;
"P1071" = "P107" * ( "A1059" -> "P000" ) ;
"P1072" = "P107" * ( "A1069" -> "P000" ) ;
"P1073" = "P1071" * ( "A1061" -> "P000" ) ;
"P1074" = "P1071" * ( "A1063" -> "P000" ) ;
"P1075" = "P1073" * ( "A1065" -> "P000" ) ;
"P1076" = "P1073" * ( "A1067" -> "P000" ) ;
/*Inroamers Calculation Ends Here*/
/*Postpaid Outroamers Starts Here*/
"Postpaid Retail - Outroaming" = ( "A1071" -> "P000" ) * ( "A1025" -> "P101") ;
"P1011" = ( "A1072" -> "P000" ) * ( "Postpaid Retail - Outroaming" ) ;
"P1012" = ( "Postpaid Retail - Outroaming" ) - ( "P1011" ) ;
"P1013" = ( "A1073" -> "P000" ) * ("P1011") ;
"P1014" = ( "P1011" ) - ( "P1013" ) ;
"Postpaid EBU - Outroaming" = ( "A1078" -> "P000" ) * ( "A1025" -> "P104" );
"P1041" = ( "A1079" -> "P000" ) * ( "Postpaid EBU - Outroaming" ) ;
"P1042" = ( "Postpaid EBU - Outroaming" ) - ( "P1041" ) ;
"P1043" = ( "A1080" -> "P000" ) * ( "P1041" ) ;
"P1044" = ( "P1041" ) - ("P1043") ;
/*Postpaid Outroamers Ends Here*/
/*Prepaid Outroamers Starts Here*/
"Prepaid Retail - Outroaming" = ( "A1025" -> "P102" ) * ( "A1085" -> "P000" ) ;
"P1021" = ( "Prepaid Retail - Outroaming" ) * ( "A1086" -> "P000" ) ;
"P1022" = ( "Prepaid Retail - Outroaming" ) * ( "A1091" -> "P000" ) ;
"P1023" = ( "P1021" ) * ( "A1087" -> "P000" ) ;
"P1024" = ( "P1021" ) * ( "A1088" -> "P000" ) ;
"Prepaid PCO - Outroaming" = ( "A1025" -> "P103" ) * ( "A1092" -> "P000" ) ;
"P1031" = ( "A1058" -> "Prepaid PCO - Outroaming" ) * ( "A1093" -> "P000" ) ;
"P1032" = ( "A1058" -> "Prepaid PCO - Outroaming" ) * ( "A1098" -> "P000" ) ;
"P1033" = ( "A1058" -> "P1031" ) * ( "A1094" -> "P000" ) ;
"P1034" = ( "A1058" -> "P1031" ) * ( "A1095" -> "P000" ) ;
/*Prepaid Outroamers Ends Here*/
/*new code for 3g start here */
/*Inroamers Calculation Starts Here */
"G107" = "A1057" -> "G000" ;
"G1071" = "G107" * ( "A1059" -> "G000" ) ;
"G1072" = "G107" * ( "A1069" -> "G000" ) ;
"G1073" = "G1071" * ( "A1061" -> "G000" ) ;
"G1074" = "G1071" * ( "A1063" -> "G000" ) ;
"G1075" = "G1073" * ( "A1065" -> "G000" ) ;
"G1076" = "G1073" * ( "A1067" -> "G000" ) ;
/*Inroamers Calculation Ends Here*/
/*Postpaid Outroamers Starts Here*/
"Postpaid Retail - Outroaming 3G" = ( "A1071" -> "G000" ) * ( "A1025" -> "G101") ;
"G1011" = ( "A1072" -> "G000" ) * ( "Postpaid Retail - Outroaming 3G" ) ;
"G1012" = ( "Postpaid Retail - Outroaming 3G" ) - ( "G1011" ) ;
"G1013" = ( "A1073" -> "G000" ) * ("G1011") ;
"G1014" = ( "G1011" ) - ( "G1013" ) ;
"Postpaid EBU - Outroaming 3G" = ( "A1078" -> "G000" ) * ( "A1025" -> "G104" );
"G1041" = ( "A1079" -> "G000" ) * ( "Postpaid EBU - Outroaming 3G" ) ;
"G1042" = ( "Postpaid EBU - Outroaming 3G" ) - ( "G1041" ) ;
"G1043" = ( "A1080" -> "G000" ) * ( "G1041" ) ;
"G1044" = ( "G1041" ) - ("G1043") ;
/*Postpaid Outroamers Ends Here*/
/*Prepaid Outroamers Starts Here*/
"Prepaid Retail - Outroaming 3G" = ( "A1025" -> "G102" ) * ( "A1085" -> "G000" ) ;
"G1021" = ( "Prepaid Retail - Outroaming 3G" ) * ( "A1086" -> "G000" ) ;
"G1022" = ( "Prepaid Retail - Outroaming 3G" ) * ( "A1091" -> "G000" ) ;
"G1023" = ( "G1021" ) * ( "A1087" -> "G000" ) ;
"G1024" = ( "G1021" ) * ( "A1088" -> "G000" ) ;
/*new code for 3g end here*/
Endfix ;
Fix ( @Descendants ( "Subscribers Data" ), @Descendants ( "Inroamers & Market Information Data" ))
@Idescendants ( "Products - Services") ;
@Idescendants ( "Products - Services 3G") ;
@Idescendants ( "PT") ;
@Idescendants ( "Alternate Hierarchy") ;
Endfix ;
Fix ( "Postpaid", "Prepaid","Postpaid 3G", "Prepaid 3G" )
"A1015"
if(@ISDESC("2G"))
"A1015" = "A1014" / ( "A1006" -> "P000" + "A1797" -> "P000") ;
else
"A1015" = "A1014" / ( "A1786" -> "P000" + "A1798" -> "P000") ;/*new code for 3g*/
endif;
Endfix ;
Endfix ;
Endloop;
@Idescendants ( "Year Total" ) ;
Endfix ;
Fix ( @Descendants ( "Subscribers Data" ), @Descendants ( "Inroamers & Market Information Data" ))
@Idescendants ( "CCT" ) ;
Endfix;
Endfix ;
Fix ( [V_YEAR_AOP], "Absolute", "Periodic", @Remove ( @Relative ( [V_Cir], 0 ), @List ( @Match ( Entity, "Elm*" ))), [V_SCN_AOP], [V_VER_AOPMIS])
Fix ( @Idescendants("CCT"),@Idescendants("PT"))
Fix("A1015","A1772")
@Idescendants ( "Year Total" ) ;
Endfix;
Endfix;
Endfix;
SET CACHE OFF ;
SET CREATEBLOCKONEQ OFF ;

Similar Messages

  • Error-Code: ora-4020 Deadlock error, while updating a record

    Hello!
    Is it possible to get a deadlock error when two or more users try to update the same record simultaneously? And what would be the best solution to circumvent this?
    Thanks
    Your help is appreciated.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ( vidya):
    Hello Vidhya,
    Issue either Commit or Rollback without much delay once the statement(s) is/are executed.
    vmkrish
    [email protected]
    Is it possible to get a deadlock error when two or more users try to update the same record simultaneously? And what would be the best solution to circumvent this?
    Thanks
    Your help is appreciated.<HR></BLOCKQUOTE>
    null

  • Server error[1012]:Essbase error[1260052]

    Dear All,
    We created a report in Hyperion Interactive reporting using Hyperion Essbase as database connection file .
    We have a substitution variables in Essbase.We want to use the Substitution variables ("CMonth","CYTD") in IR report Substitution variables were already created in Essbase.
    In Query when i select Period dimension i saw an option called Substitution variables i selected the variables("CMonth","CYTD").When i hit process button i am getting the following error Message
    "server error[1012]:Essbase error[1260052]:Syntax error in input MDX query on line 2 at token 'OctYTD'
    Please let me is there a better way to bring the variables in Query.
    Any suggestions to resolve issue will be really helpful.
    Thanks in advance
    Regards
    Vamsi

    Hello Pros,
    I am new to ASO and would like to know this simple formula where i am making a mistake.
    IIF(Withattr([Date],"<",[Date_01-01-2013],1,0)
    over here Date is attribute dimension which is associated with Entity dimension. I am trying to apply the formula on account saying in which Entity the date is less that 01-01-2013 put 1 else but 0. but i am getting syntax error and not able to figure out. any help will be great.

  • Deadlock error on logical standby

    Hi All,
    I am get an issue where every thing is working fine on Db server but when it is getting replicated to Logical standby i am getting a deadlock error. Please find error logs below
    Fri May 20 21:00:56 2011
    ORA-00060: Deadlock detected. More info in file /u01/logicalstdby_home/product/admin/XXXXX/bdump/xxlog_p004_15175.trc.
    Fri May 20 21:00:56 2011
    8
    Errors in file /u01/logicalstdby_home/product/admin/XXXXX/bdump/xxlog_lsp0_2207.trc:
    ORA-12801: error signaled in parallel query server P004
    ORA-00060: deadlock detected while waiting for resource
    9
    ORA-12801: error signaled in parallel query server P004
    ORA-00060: deadlock detected while waiting for resource
    LOGSTDBY Analyzer process P003 pid=42 OS id=15173 stopped
    Please can anyone help in investigation.
    Thanks and Regrads,
    Amol

    Hi ,
    I have the logs from deadlock file.
    There are two queries in this dump. Does this mean that the two queries in the logs (which are actually same) are runing in parellel. Because this actually ran fine on the primary database.
    DEADLOCK DETECTED ( ORA-00060 )
    [Transaction Deadlock]
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-01350024-00098ad3 44 804 X 46 797 S
    TX-012f0006-0008ac28 46 797 X 60 874 S
    TX-01340000-000a175c 60 874 X 44 804 S
    session 804: DID 0001-002C-0003E40C     session 797: DID 0001-002E-00002364
    session 797: DID 0001-002E-00002364     session 874: DID 0001-003C-0000019C
    session 874: DID 0001-003C-0000019C     session 804: DID 0001-002C-0003E40C
    Rows waited on:
    Session 797: obj - rowid = 00000000 - D/////AAaAAHqeAAAA
    (dictionary objn - 0, file - 26, block - 2008960, slot - 0)
    Session 874: obj - rowid = 00089976 - AAC5PjAAFAAAmj+AAA
    (dictionary objn - 563574, file - 5, block - 157950, slot - 0)
    Session 804: obj - rowid = 00089976 - AAC5PjAAFAAAmi3AAA
    (dictionary objn - 563574, file - 5, block - 157879, slot - 0)
    Information on the OTHER waiting sessions:
    Session 797:
    pid=46 serial=418 audsid=0 user: 0/SYS
    O/S info: user: oracle, term: UNKNOWN, ospid: 15180, machine: db5p
    program: oracle@db5p (P006)
    Current SQL Statement:
    update /*+ streams restrict_all_ref_cons */ "BEBSS"."SUBSCRIBER_POLICY_BROKER_EVENT" p set "ACTIVITY_TYPE"=decode(:1,'N',"ACTIVITY_TYPE",:2), "ATTRIBUTE_SET"=decode(:3,'N',"ATTRIBUTE_SET",:4), "CREATED_DATE"=decode(:5,'N',"CREATED_DATE",:6), "CUSTOMER_ID"=decode(:7,'N',"CUSTOMER_ID",:8), "FILE_NAME"=decode(:9,'N',"FILE_NAME",:10), "ID"=decode(:11,'N',"ID",:12), "LAST_MODIFIED_DATE"=decode(:13,'N',"LAST_MODIFIED_DATE",:14), "PORT_NUMBER"=decode(:15,'N',"PORT_NUMBER",:16), "PROCESSED_DATE"=decode(:17,'N',"PROCESSED_DATE",:18), "SERVICE_PACKAGE_ID"=decode(:19,'N',"SERVICE_PACKAGE_ID",:20), "STATUS"=decode(:21,'N',"STATUS",:22), "TRANSACTION_TYPE"=decode(:23,'N',"TRANSACTION_TYPE",:24) where (:25='N' or(decode(:26,'N','Y',decode(:27,"ACTIVITY_TYPE",'Y'))='Y' and decode(:28,'N','Y',decode(:29,"ATTRIBUTE_SET",'Y'))='Y' and decode(:30,'N','Y',decode(:31,"CREATED_DATE",'Y'))='Y' and decode(:32,'N','Y',decode(:33,"CUSTOMER_ID",'Y'))='Y' and decode(:34,'N','Y',decode(:35,"FILE_NAME",'Y'))='Y' and 1=1 and decode(:36,'N','Y',decode(:37,"LAST_MODIFIED_DATE",'Y'))='Y' and decode(:38,'N','Y',decode(:39,"PORT_NUMBER",'Y'))='Y' and decode(:40,'N','Y',decode(:41,"PROCESSED_DATE",'Y'))='Y' and decode(:42,'N','Y',decode(:43,"SERVICE_PACKAGE_ID",'Y'))='Y' and decode(:44,'N','Y',decode(:45,"STATUS",'Y'))='Y' and decode(:46,'N','Y',decode(:47,"TRANSACTION_TYPE",'Y'))='Y')) and(:48="ID")
    Session 874:
    pid=60 serial=20958 audsid=0 user: 0/SYS
    O/S info: user: oracle, term: UNKNOWN, ospid: 15182, machine: db5p
    program: oracle@db5p (P007)
    Current SQL Statement:
    update /*+ streams restrict_all_ref_cons */ "BEBSS"."SUBSCRIBER_POLICY_BROKER_EVENT" p set "ACTIVITY_TYPE"=decode(:1,'N',"ACTIVITY_TYPE",:2), "ATTRIBUTE_SET"=decode(:3,'N',"ATTRIBUTE_SET",:4), "CREATED_DATE"=decode(:5,'N',"CREATED_DATE",:6), "CUSTOMER_ID"=decode(:7,'N',"CUSTOMER_ID",:8), "FILE_NAME"=decode(:9,'N',"FILE_NAME",:10), "ID"=decode(:11,'N',"ID",:12), "LAST_MODIFIED_DATE"=decode(:13,'N',"LAST_MODIFIED_DATE",:14), "PORT_NUMBER"=decode(:15,'N',"PORT_NUMBER",:16), "PROCESSED_DATE"=decode(:17,'N',"PROCESSED_DATE",:18), "SERVICE_PACKAGE_ID"=decode(:19,'N',"SERVICE_PACKAGE_ID",:20), "STATUS"=decode(:21,'N',"STATUS",:22), "TRANSACTION_TYPE"=decode(:23,'N',"TRANSACTION_TYPE",:24) where (:25='N' or(decode(:26,'N','Y',decode(:27,"ACTIVITY_TYPE",'Y'))='Y' and decode(:28,'N','Y',decode(:29,"ATTRIBUTE_SET",'Y'))='Y' and decode(:30,'N','Y',decode(:31,"CREATED_DATE",'Y'))='Y' and decode(:32,'N','Y',decode(:33,"CUSTOMER_ID",'Y'))='Y' and decode(:34,'N','Y',decode(:35,"FILE_NAME",'Y'))='Y' and 1=1 and decode(:36,'N','Y',decode(:37,"LAST_MODIFIED_DATE",'Y'))='Y' and decode(:38,'N','Y',decode(:39,"PORT_NUMBER",'Y'))='Y' and decode(:40,'N','Y',decode(:41,"PROCESSED_DATE",'Y'))='Y' and decode(:42,'N','Y',decode(:43,"SERVICE_PACKAGE_ID",'Y'))='Y' and decode(:44,'N','Y',decode(:45,"STATUS",'Y'))='Y' and decode(:46,'N','Y',decode(:47,"TRANSACTION_TYPE",'Y'))='Y')) and(:48="ID")
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    update /*+ streams restrict_all_ref_cons */ "BEBSS"."SUBSCRIBER_POLICY_BROKER_EVENT" p set "ACTIVITY_TYPE"=decode(:1,'N',"ACTIVITY_TYPE",:2), "ATTRIBUTE_SET"=decode(:3,'N',"ATTRIBUTE_SET",:4), "CREATED_DATE"=decode(:5,'N',"CREATED_DATE",:6), "CUSTOMER_ID"=decode(:7,'N',"CUSTOMER_ID",:8), "FILE_NAME"=decode(:9,'N',"FILE_NAME",:10), "ID"=decode(:11,'N',"ID",:12), "LAST_MODIFIED_DATE"=decode(:13,'N',"LAST_MODIFIED_DATE",:14), "PORT_NUMBER"=decode(:15,'N',"PORT_NUMBER",:16), "PROCESSED_DATE"=decode(:17,'N',"PROCESSED_DATE",:18), "SERVICE_PACKAGE_ID"=decode(:19,'N',"SERVICE_PACKAGE_ID",:20), "STATUS"=decode(:21,'N',"STATUS",:22), "TRANSACTION_TYPE"=decode(:23,'N',"TRANSACTION_TYPE",:24) where (:25='N' or(decode(:26,'N','Y',decode(:27,"ACTIVITY_TYPE",'Y'))='Y' and decode(:28,'N','Y',decode(:29,"ATTRIBUTE_SET",'Y'))='Y' and decode(:30,'N','Y',decode(:31,"CREATED_DATE",'Y'))='Y' and decode(:32,'N','Y',decode(:33,"CUSTOMER_ID",'Y'))='Y' and decode(:34,'N','Y',decode(:35,"FILE_NAME",'Y'))='Y' and 1=1 and decode(:36,'N','Y',decode(:37,"LAST_MODIFIED_DATE",'Y'))='Y' and decode(:38,'N','Y',decode(:39,"PORT_NUMBER",'Y'))='Y' and decode(:40,'N','Y',decode(:41,"PROCESSED_DATE",'Y'))='Y' and decode(:42,'N','Y',decode(:43,"SERVICE_PACKAGE_ID",'Y'))='Y' and decode(:44,'N','Y',decode(:45,"STATUS",'Y'))='Y' and decode(:46,'N','Y',decode(:47,"TRANSACTION_TYPE",'Y'))='Y')) and(:48="ID")
    ===================================================
    PROCESS STATE
    Process global information:
    process: 0x29c53bcc8, call: 0x29567f358, xact: 0x299db2d90, curses: 0x29c811dd8, usrses: 0x29c811dd8
    SO: 0x29c53bcc8, type: 2, owner: (nil), flag: INIT/-/-/0x00
    (process) Oracle pid=44, calls cur/top: 0x29567f358/0x29567eb18, flag: (0) -
    int error: 0, call error: 0, sess error: 0, txn error 0
    (post info) last post received: 0 0 117
    last post received-location: kcbzww
    last process to post me: 29c53fc08 42 0
    last post sent: 0 0 117
    last post sent-location: kcbzww
    last process posted by me: 29c53c4b0 188 0
    (latch info) wait_event=0 bits=0
    Process Group: DEFAULT, pseudo proc: 0x29f601e88
    O/S info: user: oracle, term: UNKNOWN, ospid: 15175
    OSD pid info: Unix process pid: 15175, image: oracle@db5p (P004)
    Dump of memory from 0x000000029C500F08 to 0x000000029C501110
    29C500F00 00000002 00000000 [........]
    29C500F10 9C811DD8 00000002 00000004 0003129B [................]
    29C500F20 8F34B7A0 00000002 0000001E 0003115B [..4.........[...]
    29C500F30 9CA03A98 00000002 0000000B 000313A7 [.:..............]
    29C500F40 9EBD0510 00000002 0000003D 0003115B [........=...[...]
    29C500F50 9C803260 00000002 00000004 0003129B [`2..............]
    29C500F60 75E66848 00000001 0000001E 0003115B [Hh.u........[...]
    29C500F70 99507DB0 00000002 00000007 000313A7 [.}P.............]
    29C500F80 99507F70 00000002 00000007 000313A7 [p.P.............]
    29C500F90 995083D0 00000002 00000007 000313A7 [..P.............]
    29C500FA0 99508CA8 00000002 00000007 000313A7 [..P.............]
    29C500FB0 995093C0 00000002 00000007 000313A7 [..P.............]
    29C500FC0 99509AC0 00000002 00000007 000313A7 [..P.............]
    29C500FD0 9950AC58 00000002 00000007 000313A7 [X.P.............]
    29C500FE0 9950B290 00000002 00000007 000313A7 [..P.............]
    29C500FF0 9950D6A0 00000002 00000007 000313A7 [..P.............]
    29C501000 994FDAB0 00000002 00000007 000313A7 [..O.............]
    29C501010 99510640 00000002 00000007 000313A7 [@.Q.............]
    29C501020 99510B80 00000002 00000007 000313A7 [..Q.............]
    29C501030 99510FE0 00000002 00000007 000313A7 [..Q.............]
    29C501040 99511298 00000002 00000007 000313A7 [..Q.............]
    29C501050 99511998 00000002 00000007 000313A7 [..Q.............]
    29C501060 99511A78 00000002 00000007 000313A7 [x.Q.............]
    29C501070 99511B58 00000002 00000007 000313A7 [X.Q.............]
    29C501080 99512350 00000002 00000007 000313A7 [P#Q.............]
    29C501090 99513248 00000002 00000007 000313A7 [H2Q.............]
    29C5010A0 99513408 00000002 00000007 000313A7 [.4Q.............]
    29C5010B0 99513788 00000002 00000007 000313A7 [.7Q.............]
    29C5010C0 9CA04DE8 00000002 0000000B 000313A7 [.M..............]
    29C5010D0 995144C0 00000002 00000007 000313A7 [.DQ.............]
    29C5010E0 99515038 00000002 00000007 000313A7 [8PQ.............]
    29C5010F0 995152D8 00000002 00000007 000313A7 [.RQ.............]
    29C501100 995159F0 00000002 00000007 000313A7 [.YQ.............]
    Thanks,
    Amol

  • Deadlock error in forms

    Hi,
    I have got an assignment to find out reasons for deadlock error in two forms. Client doesnot have any records
    like error number,message what soever. Please tell me how to trobleshoot it, what are things which I should check in forms,procedures etc.
    Thanks in advance.
    Sandy

    Can you reproduce the error? If not, it might be complicated.
    A deadlock occurs, in general, if two programs access two ressources in different order, and then two users run the two programs with the same database objects. The following is a short overview, leaving out some details.
    Lets say, program (or form) A updates table T1 for a specific object O, and then update table T2 for a specific object O.
    And program (or form) B first updates table T2 for a specific object O and then update table T1 for a specific object O.
    When two users run the two programs for the same object O, the following happens (assuming the appropiate "timing"):
    User U1 starts working with program A and updates table T1 for the object O, the appropiate reocrd in T1 now is locked.
    User U2 starts working with program B and updates table T2 for the same object O, the appropiate record in T2 now is locked.
    Now user U1 continues with program A and tries to update T2. This will not work, for T2 is already locked by user U2, so the session will wait.
    Now user U2 continues with program B and tries to update T1. This will not work, for T1 is already locked by user U1, so the session will wait.
    Now U1 waits for U2 and U2 waits for U1, this is called a deadlock. The database is able to detect this situation and raises an error.
    So, to find that situation:
    Look for manual UPDATE's or DELETE's inside the forms
    Look for transactiosn where some tables are involved in different order.
    Hope this helps.

  • ERROR - 1051417 - Essbase Application Existence Check Fails against..

    Hi
    Our backup routine copies our Essbase databases to a seperate application. First, it drops the target app before rebuilding it.
    But in our Test environment (11.1.1.3) this step fails with the following error:
    +ERROR - 1051417 - Essbase Application Existence Check Fails agaainst the Shared Services Server with Error [Local ID is required.]+
    Any ideas what that is about ?
    Cheers

    From the log
    Error establishing socket to host and port: chandan:1433. Reason: Connection refused: connect
    The SQL server itself is not running or TCP/IP is disabled. That can be confirmed by runing netstat and see it is listed there.
    Then run telnet chandan 1433 and see it can connect
    To enable the TCP refer to this link
    Re: error establishing socket to host and port: EPM11:1433

  • Could we get a deadlock error on COMMIT (END TRANSACTION) in BDB-SQL

    According to the DB_TXN->commit documentation at:
    http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/txncommit.html
    "After DB_TXN->commit() has been called, regardless of its return, the DB_TXN handle may not be accessed again.
    If DB_TXN->commit() encounters an error, the transaction and all child transactions of the transaction are aborted."
    Since BDB-SQL uses the BDB engine, should the code handle such errors in BDB-SQL?
    Another point to keep in mind is that, post BDB-SQL version 5.1 upon receiving a potential deadlock error all the previous operations(child transactions) in the same transaction are still valid and can be committed.
    It would be great if someone can throw some light on this.
    Edited by: user10942853 on Jul 28, 2011 9:31 AM

    user10942853 wrote:
    LaurenFoutz wrote:
    I do not think commit can experience a deadlock error since it does not obtain any new locks, and it could not have been in a blocked state if you are able to call commit. Either way, after calling commit on a transaction in SQL the transaction is done, even if an error is returned. At that point if an error is returned the transaction (and all the work its children have done) is either aborted under the covers, or the database has been corrupted, and all future calls to it will return a corruption error that will require restarting the database to restore it (and the restoration will roll back any work done by the transaction since it did not complete cleanly).
    Hope that answers your question.
    Lauren FoutzLauren, thanks for the reply. From your reply, though there is little possibility that we can get an error on commit looks like we should be prepared to handle such errors in BDB-SQL. We have had instances where we experienced an error on commit while using native BDB (without SQL API) and wanted to confirm the same.You are correct. Error when committing are rare in both the SQL and native API, but they can happen and you should deal with them when they do.
    Lauren Foutz

  • Frequent Invalid Credential login Error to Essbase Server

    We have noticed frequently invalid credentials error with  Essbase Server login via Smart View or Classic Add-In.
    Some interesting facts, on invalid credential error:
    1)  We can login using native Essbase Security as Admin.
    2)  Can login into Shared services via MSAD acct.
    3)  Work-space login is also functional.
    4)  Can pull MSAD user ID and accounts from Shared services.
    5) EPMCSS-00301 from shared services log.
    6) Issue will only be fixed if Essbase only service is recycled.
    I am pretty sure MSAD config is not the issue as other components are working upon this error and we have to recycle Essbase  only service.
    Any input is appreciated. There is no issue with "user Id" or "PWD"
    Nothing prudent from the logs as i scrubbed.

    HI John
    Issue occurs in EPM 11.1.2.1.106 Version of  64 Bit Essbase Server.
    Yes we can log in with Native accounts when issue occurs, just MSAD doesn't work with Essbase.
    Workspace, Shared services does work (Smart View & Classic Add-in doesn't work)
    We have to restart Essbase only Service for it to allow login's.
    I have tried setting and using enhanced login via Essbase config.
    LOGINFAILUREMESSAGEDETAILED
    AGENTLOGMESSAGELEVEL DEBUG.
    AD groups are set via config filter but we use native groups assigning MSAD users to Native Shared services groups created.
    Please review and advice.
    Not much Information form logs apart from EPMCSS-00301 which is generic error.  Not sure whats trigerring  Essbase (MASD) security to fail and had to restart service.
    Thu~Aug~08~11:28:53~2013~Local~ESSBASE0~~~13208~Error~(1051440)~
    Essbase user ~[XXX]~ Authentication Fails against the Shared Services Server with Error ~[EPMCSS-00301: Failed to authenticate user. Invalid credentials. Enter valid credentials.]
    Thu~Aug~08~11:28:53~2013~Local~ESSBASE0~~~13208~Warning~(1051003)~
    Error ~1051440 ~processing request ~[Login]~ - disconnecting
    Thu~Aug~08~11:29:39~2013~Local~ESSBASE0~~~10344~Warning~(1051003)~
    Error ~-1 ~processing request ~[Logout]~ - disconnecting
    Thu~Aug~08~11:30:11~2013~Local~ESSBASE0~~~18232~Info~(1051164)~EPMCSS-00301: Failed to authenticate user. Invalid credentials. Enter valid credentials.
      at com.hyperion.css.spi.impl.msad.MSADProvider.authenticate(MSADProvider.java:707)
      at com.hyperion.css.facade.impl.CSSAbstractAuthenticator.authenticateUser(CSSAbstractAuthenticator.java:686)
      at com.hyperion.css.facade.impl.CSSAPIAuthenticationImpl.authenticate(CSSAPIAuthenticationImpl.java:73)
      at com.hyperion.css.facade.impl.CSSAPIImpl.authenticate(CSSAPIImpl.java:103)
      at com.hyperion.css.facade.impl.CSSAPIImpl.login(CSSAPIImpl.java:825)
      at com.hyperion.css.facade.CSSAPIFacade.login(CSSAPIFacade.java:782)
    - Nested Exception:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at com.hyperion.css.spi.util.jndi.pool.CSSJNDIKeyedObjectFactory.makeObject(CSSJNDIKeyedObjectFactory.java:126)
      at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:797)
      at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.getBorrowObject(JNDIConnectionPool.java:321)
      at com.hyperion.css.spi.util.jndi.pool.JNDIConnectionPool.borrowValidatedConnection(JNDIConnectionPool.java:307)
      at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(JNDIHelper.java:482)
      at com.hyperion.css.spi.impl.msad.JNDIHelper.getURLContext(JNDIHelper.java:453)
      at com.hyperion.css.spi.impl.msad.MSADProvider.authenticate(MSADProvider.java:463)
      at com.hyperion.css.facade.impl.CSSAbstractAuthenticator.authenticateUser(CSSAbstractAuthenticator.java:686)
      at com.hyperion.css.facade.impl.CSSAPIAuthenticationImpl.authenticate(CSSAPIAuthenticationImpl.java:73)
      at com.hyperion.css.facade.impl.CSSAPIImpl.authenticate(CSSAPIImpl.java:103)
      at com.hyperion.css.facade.impl.CSSAPIImpl.login(CSSAPIImpl.java:825)
      at com.hyperion.css.facade.CSSAPIFacade.login(CSSAPIFacade.java:782)
    Thanks

  • Event Queue Deadlock Error

    LabVIEW 7.1, PDA Module for Palm OS (long-time LV programmer, new to PDA module)
    I am writing an app that displays a main screen of choices via Boolean button controls.  An Event structure is used to detect ValueChange in the Booleans.  When a button is clicked, a sub-vi is called that opens the sub-vi's front panel that has data display and a couple of buttons that are also processed by an event structure.  I got a "event queue deadlocked" error message when testing.  Does this application structure violate the "single event structure in a loop" rule, even though one queue is in a sub-vi?  Must I use a state machine or some other architecture to make this work?
    Thanks,
    BevP

    A lot of time has passed but now I find the same problem and I have the solution.
    If you have an event structure you MUST show the control and indicators involved in the cases in the front panel and in the monitor of your PDA/Touchscreen device, because oterwise the event queue deadlocked error appears.
    It makes sense becasuse if you do not show them; you will never be able to call events and the aplication is going to stuck. 

  • Error Extracting Essbase Product Dimension to a Flat File

    I am new to ODI and do not know how to troubleshoot this issue.
    I am trying to extract an Essbase Dimension (Product) to a Flat File.
    The source is Essbase Product and the Flat File is the Target. The target file is .csv.
    I have the fields to execute on Staging Area.
    When I click apply, I get an error stating: Target/Staging Area: You must set a IKM for the target.
    In the IKM folder I have the following:
    IKM SQL to File Append
    IKM SQL Hyperion Essbase (DATA)
    IKM SQL Hyperion Essbase (METADATA)
    I appreciate any help you can offer.

    Follow this and you should be able to get an interface to extract metadata from essbase - http://john-goodwin.blogspot.com/2008/10/odi-series-essbase-outline-extractor.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Data Committed instead of Rollback after Deadlock Error in SQL Server 2008 R2 (SP2)

    We're having a strange issue which is occurring only with one Customer having SQL Server 2008 R2 (SP2).
    Basically we have multiple threads uploading data and when an error occurs (like deadlock or any other error). The deadlock victim (process/transaction) is rolledback (from .NET). However the rollback command is not reaching SQL Server as it doesn't show
    in the trace (through SQL Profiler).
    To make things worse, not only the transaction is not being rolled back but the INSERTs executed before the error are being somehow committed, leaving the database in an inconsistent state.
    This is only produced in one environment.
    Any idea what the issue could be?

    All statements are executed with in a Transaction. Under the same scenario this code works perfectly fine for 1000s of customers. Only one customer has this issue.
    You need to capture profiler to check transaction scope.
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Deadlocked error message when running crystal report

    Hi All,
    I need a bit of guidance as to the following problem.
    Seems there is a lock being created in SQL when running some crystal reports.
    When trying to run a report the following message is displayed:
    Database connection Error L 'ADO Error Code: 0x
    Source: Microsoft SQL Native Client
    Description: Transaction (Process ID 302) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    SQL State: 40001
    Native Error: [Database Vendor Code: 1205 ]'
    The error is happening intermittently when refreshing the report. It does not seem to happen when no users are using the system.
    Is there any way to stop this from happening? Or is this some kind of limitation with crystal and how it accesses the database?
    Many Thanks,
    Matt

    Hi Matt
    I have had this problem with long running queries as well.  I ended up doing the main part of the query in a view using WITH (NOLOCK) for each table and then reporting on the view.
    This had extra benefits of making the report much simpler and often making the query more efficient and easier to test as well.
    Rob

  • Data load errors in Essbase

    I am attempting to load our data pulled from our HFM application into Essbase. I keep getting "data value encountered before all dimensions selected" error. I have checked the load file line by line and the rule everything lines up correctly from the file to the rule. We have recently migrated our Planning application to 3.3.1 of Planning and Essbase 6.5.4. We have loaded data before in this new system but for some reason I can't get this to load. Any ideas or help would be greatly appreciated. thanks,Eleasha

    Is every dimension in the OUTLINE represented in the data file? If not, do the unrepresented dimensions have a member specified in the headers?If every dimension is represented, do the data fields come AFTER the member fields?

  • Data Load error in Essbase

    Hello all-
    I extracted some data on flat file from my application in production using report script and i am trying to push the data in another essbase cube using rule file and it comes up with following error:
    Reading Rule SQL Information For Database [Database name]
    Reading Rules From Rule Object For Database [Database name]
    Parallel dataload enabled: [1] block prepare threads, [1] block write threads.
    Loading Unicode-encoded data to non-Unicode mode application is not supported
    Unexpected Essbase error 1003048
    I have previously pushed the level 0 data export many times and this time i am trying to push it via rule file and it come up with this error. How can i look if my orginal application is a unicode application or not??? The rule file that i am using is also from the source application .. I tried loading the data in the same source application but different database and it came up up with same error... Anybody have come across this error before?
    Please advise!

    *Error “Loading Unicode Encoded Data to Non Unicode Mode Application is not Supported” When Importing An Export File. [ID 764447.1]*
    Symptoms
    When doing an export with a Report Script the export file is being saved as an UTF-8 document.
    Subsequently when importing the export file back into the database the following error occurs:
    “Loading Unicode encoded data to Non Unicode mode application is not supported”.
    The file has to be saved as an ANSI file for the import to work.
    Cause
    When exporting data from the EAS console, the export file is created as UTF-8 encoded.
    As such Essbase cannot read this file when importing it back in.
    This is Bug 6763776 and has been fixed in version 11.1.1.
    Solution
    This issue has been fixed in version 11.1.1.
    If you are unable to upgrade at this time then the suggested workaround is to use MaxL or Esscmd to run the report script, as running it in this manner will save the file in non-unicode mode and thus allow you to load it back in without errors.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Data load error in essbase studio

    I get the following error when trying to load an ASO cube using Essbase Studio (EPM 11.1.2). This error doen't seem to be documented in any of the Essbase manuals. Question - does this error indicate an essbase server issue or a data source issue? I'm thnking it's datasource related, but my data source is an Oracle database, which I've used previously to load cubes without a problem. I've refreshed the source and can connect to it fine otherwise.
    Error:
    Data load started at: Fri Dec 03 08:52:21 EST 2010.      Data load elapsed time:  10 Minutes 23 Seconds.
    Failed to deploy Essbase cube.
    Caused by: Failed to load data into database: 8020.
    Caused by: Cannot execute a SQL query
    Caused by: Io exception: Socket read timed out
    Caused by: Socket read timed out
    Appreciate any hel with this issue.

    When I have issues with Studio I try to break it down slowly. I build my dimensions one at a time. If it breaks on a single dimension build I trace the issues backwards and usually find my issue in the schema.
    Studio's role in life is to create SQL load rules and as such depend on a good schema definition. Unforntunately, the dimension build rules can't be opened in EAS with the Dataprep Editor (regular load rules) because they're binary and can do things that a normal load rule cannot (text measures, date measures, time varying attributes, etc.). But that doesn't mean the .rul files are un-readable. If you're having trouble with a particular dimension build process, open the load rule it creates with something like Notepad and grab the SQL that Studio is generating and drop it into Toad (or equivalant) to see if it is generating usable code. If not, there's something wrong with your modeling and you need to go back to the mini-schema.
    When you're able to build all dimensions all at the same time, you're almost there. If your issues comes when you want to build and load data, the final debuging steps go quickly. Towards that end, the data load rules (ones that load data vs. building dimensions) generated by Studio can be edited in EAS using the Dataprep Editor. If you know SQL Load Rules, you should be able to figure out. If not, contact John Goodwin, OCS or a partner and set up a consulting visit.

Maybe you are looking for

  • Manually Restore Mail and Address Book Entries

    Since reinstalling OS 10.4.11 I am having a **** of a time restoring some vital info. Question: How the heck does one manually transfer Mailboxes and their messages and AddressBook entries? I cannot use the export / mport because all the info is on a

  • L&F taskbar icon

    Hi I want to change the icon thats is visible on windows taskbar, next to the application name. I have a custom L&F, but I dont know what to overide to get the preffered result. Today the java coofe cup icon is present, the same icon that comes with

  • Pictures in muse cutting off

    Once I correct one, another one cuts off, no matter how many times I try to fix it one is always cut off. I have windows 8 and this has never happened before, it just started happening.

  • Using a Slider to jog a linear ball screw in opposite directions

    Hello, I have a linear ball screw run by a motor/controller setup. I would like to use a Slider to essentially "jog" the platform mounted on the screw forwards or backwards a certain distance. However, the controller has its own language to control t

  • ABAP + BSP plugin for Netweaver Developer Studio

    Hallo, does an ABAP + BSP plugin for Netweaver Developer Studio exist? Or is considered to be developed in future? Best regards, Josef Motl