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

KB47686: "Expected execution status 1, received status 2" error is received intermittently in Command Manager when executing multiple lines concurrently to alter VLDB settings


Community Admin

• Strategy


Error is received intermittently in Command Manager when executing multiple lines concurrently to alter VLDB settings.

SYMPTOM:
 
An "expected execution status 1, received status 2" error is encountered in Command Manager when executing multiple commands together at the same time to alter VLDB settings.
 
*Note that this issue appears to be intermittent and an error might not always be encountered.
 

ka04W00000148ezQAA_0EM4400000029Mb.png

 


Expected execution status 1, recieved status 2.

 
STEPS TO REPRODUCE:
 
1. Create an attribute qualification prompt on Year 
 
2. Create an Attribute element prompt on Region
 
3. Create 6 identical reports with Year and Region in the rows, cost in the columns, and the prompts from steps 1 & 2 in the report filter:
 

ka04W00000148ezQAA_0EM4400000029Md.png

 
4. Save these reports as R1, R2, R3, etc. in the Public Objects\Reports folder
 
5. Run each report and answer the prompts.  Save each report indicating to save the current answers as the default answers
 
6. Run the following script in Command Manager several times to reproduce the error (issue is intermittent but should be encountered at least once if run 2-4 times):
 
ALTER VLDBSETTING PROPERTYNAME 'SQL HINT' DEFAULTVALUE FOR REPORT 'R1' IN FOLDER '\Public Objects\REPORTS' IN PROJECT 'Strategy Tutorial';
ALTER VLDBSETTING PROPERTYNAME 'SQL HINT' DEFAULTVALUE FOR REPORT 'R2' IN FOLDER '\Public Objects\REPORTS' IN PROJECT 'Strategy Tutorial';
ALTER VLDBSETTING PROPERTYNAME 'SQL HINT' DEFAULTVALUE FOR REPORT 'R3' IN FOLDER '\Public Objects\REPORTS' IN PROJECT 'Strategy Tutorial';
ALTER VLDBSETTING PROPERTYNAME 'SQL HINT' DEFAULTVALUE FOR REPORT 'R4' IN FOLDER '\Public Objects\REPORTS' IN PROJECT 'Strategy Tutorial';
ALTER VLDBSETTING PROPERTYNAME 'SQL HINT' DEFAULTVALUE FOR REPORT 'R5' IN FOLDER '\Public Objects\REPORTS' IN PROJECT 'Strategy Tutorial';
ALTER VLDBSETTING PROPERTYNAME 'SQL HINT' DEFAULTVALUE FOR REPORT 'R6' IN FOLDER '\Public Objects\REPORTS' IN PROJECT 'Strategy Tutorial';  

ka04W00000148ezQAA_0EM4400000029Mo.png

 
7. If the alter statements are executed individually in Command Manager, note that the error does not appear and the commands run successfully without issue.
 
CAUSE:
 
This is a known issue that occurs in Strategy 9.x and 10.x., This issue has been fixed in Strategy 10.8.
 
The "execution status" typically indicates that something is preventing a report from being saved after changes made to it (such as a prompt not being closed before the save attempt occurs). Notice that when the issue occurs, there will be jobs lingering in the job monitor for the reports indicating that it is "waiting for autoprompt." This is a bug that occurs under specific scenarios where the prompts don't have an answer and Strategy wants to know the prompt answers before editing/saving the reports in Command Manager.
 
WORKAROUND:
 
The following can also be used as a temporary workaround: 

  1. Run each of the "Alter" commands as separate scripts in Command Manager (and automate all the scripts to kick off simulatenously)
  2. Make the change to the SQL Hint at the project configuration level instead (database instance VLDB setting)

 
This issue is being tracked by internal reference number 925177 and DE24818.
 


Comment

0 comments

Details

Knowledge Article

Published:

May 18, 2017

Last Updated:

March 14, 2018