EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB46220: Variable "INTELLIGENCE_CUBES_RESULT_SET" cannot be recognized in procedure code in MicroStrategy Command Manager 9.3.x and 9.4.x.


Community Admin

• Strategy


The user is trying to use variable INTELLIGENCE_CUBES_RESULT_SET in Command Manager procedure to get intelligent cubes directory of all projects but it is unable to pass the code check.

SYMPTOM:
The user is trying to use variable INTELLIGENCE_CUBES_RESULT_SET in Command Manager procedure to get intelligent cubes directory of all projects. But it is unable to pass the code check due to error message below:
 
 

ka04W000000ObQ5QAK_0EM4400000029SX.jpeg

 


"Compilation error: Line 15: cannot find symbol
symbol : variable INTELLIGENCE_CUBES_RESULT_SET"

 
STEPS TO REPRODUCE:

    1. Create a new procedure in Command Manager.

 

  1. Run code check for scripts below.
     
    
    Sql
    ResultSet projects=(ResultSet)executeCapture(" List projects;");
    projects.moveFirst();
    String projName=null;
    Integer projStatus=-10;
    while(!projects.isEof())
    {
    projName= projects.getFieldValueString(NAME);
    projStatus=(Integer) projects.getFieldValue(PROJECT_STATUS_2);
    if(projStatus==0)
    {
    ResultSet projproperties=executeCapture("LIST ALL PROPERTIES FOR PROJECT CONFIGURATION IN PROJECT \""+projName+"\" ;");
    projproperties.moveFirst();
    if(!projproperties.isEof())
    {
    ResultSet CubeInfo=(ResultSet) projproperties.getFieldValue(INTELLIGENCE_CUBES_RESULT_SET);
    String PathInfo= CubeInfo.getFieldValueString(INTELLIGENT_CUBE_FILE_DIR);
    printOut(projName+" Intelligence Cube Path---->"+ PathInfo);
     
    }
     
    }
    projects.moveNext();
    }

     
     

CAUSE:
 
This is a known issue in Strategy Command Manager 9.3.x and 9.4.x
 
ACTION:
 
Use “INTELLIGENT_CUBES_RESULT_SET” instead of “INTELLIGENCE_CUBES_RESULT_SET” when try to get the intelligent cubes directory of all projects.
 
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

June 2, 2017

Last Updated:

June 2, 2017