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     [SOLVED] Executing a maintain procedure

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Executing a maintain procedure
 Login/Join
 
Guru
posted
I am trying to execute a Maintain procedure from a webfocus report. I created all commands via dev studio not maually. I appears that via the Dev Studio, the procedure has to reside within your content folders, so I copied it from the edaserve to the same content folder as the report. I get the following error. The procedure does work when running it via Maintain.

(FOC224) SYNTAX ERROR: /
------------v
PREPENDPATH /WFC/Repository/HomeRoom/PortalIT


 

TABLE FILE CAR
PRINT
     MODEL
     BODYTYPE
     SEATS
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
TYPE=REPORT,
     URL=/ibi_apps/WFServlet?( \
     IBIF_cmd='MNTCON RUN /WFC/Repository/HomeRoom/PortalIT/ibusersstart.mnt' \
     IBIS_passthru='on' \
     IBIS_connect='on' \
     IBIAPP_app='' \
     IBIC_server='EDASERVE' \
     ),
$
ENDSTYLE
END

 

This message has been edited. Last edited by: <Kathryn Henning>,


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report This Post
Master
posted Hide Post
Jay
I am not sure why the PATH to the Maintain application is causing an error. Can you try this instead?

Add the project name into the IBIAPP_app parameter and just have the MNTCON RUN command perform the mnt file:

TYPE=REPORT,
URL=/ibi_apps/WFServlet?( \
IBIF_cmd='MNTCON RUN ibusersstart.mnt' \
IBIS_passthru='on' \
IBIS_connect='on' \
IBIAPP_app='PortalIT' \
IBIC_server='EDASERVE' \
),
$
ENDSTYLE

If PortalIT is not the name of the project, edit the IBIAPP_app line and put in the corrent one. Also, if the Maintain procedure is not compiled, change the MNTCON RUN to an MNTCON EX.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Guru
posted Hide Post
Thanks!!

That definitley helped. Now I am getting a (FOC03849) Compiled maintain image not loadable: ibusersstart.mnt error, I need to look into.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report This Post
Master
posted Hide Post
Jay
That error is probably because you have a .MNT file and not a .FCM file. Change:
MNTCON RUN ibusersstart to MNTCON EX ibusersstart. You can remove the .mnt from the command.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report 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     [SOLVED] Executing a maintain procedure

Copyright © 1996-2020 Information Builders