Focal Point
[CASE-OPENED]Selecting Parameters from FIND/Prompt Causes Hanging

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7487087976

December 14, 2015, 05:26 AM
Ian Dalton
[CASE-OPENED]Selecting Parameters from FIND/Prompt Causes Hanging
We have just switched over from 77 to 81 but now some of our reports that use FIND are hanging. The screen to prompt appears as before but when you make a selection nd click RUN nothing happens ! I assume it is a setting change and I compared the usual ones to 77 from 81 and all the same.
Here is a an example of our problem....
[CODE} TABLE FILE CAR
PRINT SEG.HEIGHT
BY COUNTRY
BY CAR
BY MODEL
WHERE COUNTRY EQ &COUNTRY.(OR(FIND COUNTRY IN CAR)).Country:.;
WHERE CAR EQ &CAR.(OR(FIND CAR.CAR IN CAR)).Car:.;
ON TABLE PCHOLD FORMAT HTML
END
-RUN
[/CODE]

This message has been edited. Last edited by: <Emily McAllister>,


_______________________
*** WebFOCUS 8.1.05M ***
December 14, 2015, 08:39 AM
Tom Flynn
Works for me in 8.1.04 and 8.1.05
1. Is CAR file created in IBISAMP
2. IS IBISAMP in your path (? PATH tells you)
   a. APPENDPATH IBISAMP if not on path
3. Are you running code in MRE/Content
   a. Add -MRNOEDIT BEGIN at top of code 
   b. Add -MRNOEDIT END at bottom of code
4. If in Content, does fex have Prompt for Parameters check box checked

This message has been edited. Last edited by: Tom Flynn,


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
December 14, 2015, 08:56 AM
Ian Dalton
Thanks Tom.
CAR is on path otherwise I would not see my drop-down list of countries and cars. tries with -MRNOEDIT at start and end but makes no difference. Also Parameters box is checked.
Ian


_______________________
*** WebFOCUS 8.1.05M ***
December 14, 2015, 10:03 AM
Tom Flynn
Hi Ian,
Well, don't know what to say, works fine for me with your code:




Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
December 14, 2015, 12:10 PM
Ian Dalton
Thanks again Tom - I got it working under Dev Studio 8104 (localhost) but I am convinced it is a setting change of some sort. Even when you do have just a simple WHERE statement (without FIND) it prompts you for the value but then when you click on RUN nothing happens !
eg.
TABLE FILE CAR
PRINT SEG.HEIGHT
   BY COUNTRY
   BY CAR
   BY MODEL
WHERE COUNTRY EQ '&COUNTRY' ;
ON TABLE PCHOLD FORMAT HTML
END



_______________________
*** WebFOCUS 8.1.05M ***
December 14, 2015, 01:14 PM
Tom Flynn
Hi Ian,
Yep, sounds like it. Make sure your parameter prompting is set to XMLRUN via the Admin Console:

Application Settings --> Parameter Prompting
Client Settings -- > Managed Reporting

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
December 16, 2015, 11:49 AM
Ian Dalton
HI TOM,
YES CHECKED SETTINGS AND ALL AS I WOULD EXPECT SO I AM RAISING A CASE !
Ian


_______________________
*** WebFOCUS 8.1.05M ***