Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Include a non mre procedure in MRE procedure

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Include a non mre procedure in MRE procedure
 Login/Join
 
Gold member
posted
hi,
I would like to know if i can include a non mre procedure which is there in one of the application in data server into my Managed Reporting Standard report procedure?

Thanks,
Chirag


7.6.11
Linux
Excel, HTML, PDF

 
Posts: 69 | Registered: February 15, 2008Report This Post
Virtuoso
posted Hide Post
Yes you can, search for

MRENOEDIT

here on FP.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
<Shyam L>
posted
Chirag,
Just write -MRNOEDIT and then include your procedure. Ensure that the procedure you are calling, is there in one of the App path folders.
 
Report This Post
Platinum Member
posted Hide Post
MRNOEDIT just turns off the DialogueManager's parsing of the code referenced in the following statement. It's commonly used as:
MRNOEDIT -INCLUDE ...


You can also just add a -INCLUDE into the MRE procedure at the desired point. The name of the included object must be fully qualified if you want to reach outside of the current MRE Domain (unless there are earlier APP pathing statements to include the desired folder, then you just need the name of the flle itself):
  
-INCLUDE C:\ibi\apps\<apps-directory>\<fex-name>.fex


You could even INCLUDE code located outside of 'ibi' or on a different drive.
I'm not sure about the inclusion of ".fex", that has changed over the years, but experimentation will indicate if your installed release needs it or not.

The entire content of the INCLUDEd file will be "copy-n-paste'ed into the MRE text then parsed as if it were written right there originally.

This is a powerfull technique to build large complex procedures from pieces that are previouly developed and tested.


WIN/2K running WF 7.6.4
Development via DevStudio 7.6.4, MRE, TextEditor.
Data is Oracle, MS-SQL.
 
Posts: 154 | Location: NY | Registered: October 27, 2005Report This Post
Platinum Member
posted Hide Post
Use MRNOEDIT ... doing the direct -INCLUDE in MR means that MR is processing the -INCLUDE. What if the server fex you are calling has another -INCLUDE added later which does not use absolute path? It will work on the server ... but not in MRE. What if permissions change? What if you seperate the client machine from the server machine? If the fex is ONLY ever suppose to work from MR, then -include is fine --- or just move the fex into MR.

This is exactly why we have MRNOEDIT -INCLUDE


Brian Suter
VP WebFOCUS Product Development
 
Posts: 200 | Location: NYC | Registered: January 02, 2007Report This Post
Master
posted Hide Post
The trouble with MRNOEDIT is when you execute the proc on the server it does not like the syntax.

To get a method that works in MRE and Applications.

In EDASPROF.PRF

-SET &&INCLUDE = '-INCLUDE' ;

Then in your code

&&INCLUDE.EVAL nameofinclude.FEX

&&INCLUDE.EVAL nameofinclude.STY

etc

Works a treat!



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Include a non mre procedure in MRE procedure

Copyright © 1996-2020 Information Builders