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     MAINTAIN execution error

Read-Only Read-Only Topic
Go
Search
Notify
Tools
MAINTAIN execution error
 Login/Join
 
Silver Member
posted
I have a MAINTAIN application that runs fine when I use the deploy-and-run button in DevStudio-MAINTAIN but does not run when I call MNTCON EX from a FOCEXEC. I get the following error:

(FOC03847) MntEX Compile failed for WFRIDAY
(FOC03601) ERROR AT OR NEAR LINE 50 IN PROCEDURE WFRIDAY.MAINTAIN
(FOC03605) FRMSHOWAGENDA is not recognized.

"frmShowAgenda" is the first form in the procedure that is called with a WINFORM SHOW command.


Linux/zVM/WF7.6.11
 
Posts: 29 | Location: Washington DC | Registered: June 06, 2008Report This Post
Master
posted Hide Post
The reason you are getting this error is that you cannot kick off a Maintain with Winforms from a Focexec. Maintains with Winforms cannot be run instream. They can only be kicked off from URLs, Tables, Dashboards, HTML, etc... The code that you would need to kick a Maintain is something like:

javascript:window.location='http://server/ibi_apps/WFServlet?IBIF_cmd=MNTCON+EX+MNTapplication&IBIAPP_app=MNTpath&random='+Math.random();

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Silver Member
posted Hide Post
If my MAINTAIN procedure is "wfriday.mnt" then what would the syntax be? The .mnt file is in the directory /ibi/apps/joefriday/ . Ideally I would like to email a link and also put it on a web page. Thanks ..


Linux/zVM/WF7.6.11
 
Posts: 29 | Location: Washington DC | Registered: June 06, 2008Report This Post
Silver Member
posted Hide Post
I tried this for the URL and got the same error message

(FOC03847) MntEX Compile failed for wfriday
(FOC03601) ERROR AT OR NEAR LINE 50 IN PROCEDURE wfriday.MAINTAIN
(FOC03605) FRMSHOWAGENDA is not recognized.


http://10.4.3.148:8080/ibi_apps/WFServlet?IBIF_cmd=MNTC...IBIAPP_app=joefriday


Linux/zVM/WF7.6.11
 
Posts: 29 | Location: Washington DC | Registered: June 06, 2008Report This Post
Gold member
posted Hide Post
Hey dojo this should work...
 
<SCRIPT language=JavaScript>
   randomNum = Math.random();
   sURL = "/ibi_apps/WFServlet?IBIF_cmd=MNTCON+EX+wfriday&IBIS_connect=on&IBIAPP_app=joefriday&IBIC_server=EDASERVE&num=" + randomNum;
   window.open(sURL, "_self");
</SCRIPT>
 



If you put this in its own HTML file, then you would just need a link that points at the URL of the HTML file.


Bryan Johnson
WebFOCUS 7.7.03
Maintain
Win 7
Excel, PDF, HTML
 
Posts: 54 | Registered: January 16, 2008Report 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     MAINTAIN execution error

Copyright © 1996-2020 Information Builders