March 19, 2008, 10:25 AM
John_EdwardsWF Maintain -- Anyone know how to override the App Path in Maintain?
I have two applications running on a single reporting server that need different APP PATH settings. Is there a way to modify the path in the call to Maintain, or within it?
I will gladly send five geek gold to anyone that can help with this.
John
March 19, 2008, 10:40 AM
PeteHi John,
I always supply the the extra path in my call in the example below thats loader
-HTMLFORM BEGIN
<html>
<meta http-equiv="Pragma" content="no-cache">
<head>
<title>Upload Module </title>
<script language="javascript" type="text/javascript">
function enterMntApp()
{
var today = new Date();
start.newdate.value=today.getTime();
start.IBIF_cmd.value=
"MNTCON CLOSEMSH;MNTCON APPPATH loader;MNTCON EX upload;";
start.submit();
}
</script>
</head>
<body onload="enterMntApp()">
<form name="start" action="http://S11007:80/cgi-bin/ibi_cgi/ibiweb.exe" method="POST">
<input type="hidden" name="IBIS_connect" value="on"/>
<input type="hidden" name="IBIS_passthru" value="on"/>
<input type="hidden" name="IBIC_server" value="CLUSTER"/>
<input type="hidden" name="IBIF_cmd" value=""/>
<input type="hidden" name="newdate" value=""/>
</form>
</body>
</html>
-HTMLFORM END
Is this what you are looking for?
P.
March 19, 2008, 10:41 AM
Francis MarianiApp commands:
APP PATH app1 app2...appn - to set the directory search path.
APP PREPENDPATH app1 - to prepend a directory to the existing path.
I'm not sure how you call Maintain, but if it's called from a fex, you can add one of these commands before the call...
If it's called from a URL, you may be able to add '&IBIAPP_app=app1' which acts like an APP PREPEND command.
I hope this helps.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 19, 2008, 10:50 AM
John_EdwardsThank you both. I'm going to have to try this again. I got word that it didn't work when we put it in place earlier. It just makes sense that it would work.
J.
March 20, 2008, 05:32 AM
GamPIn stead of doing this with the MNTCON command, I always add an extra input field, like:
<input type="hidden" name="IBIAPP_app" value="maintain_app masters fexes"/>
Hope this helps...