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.
When I do the .BAT file, it gives me an error for every word in my file. For example, the first word in my .BAT file is 'Option', and it gives me this error:
'Option' is not recognized as an internal or external command, operable program or batch file.
When I change the .BAT file to a .VBS file, it just runs and runs and runs and doesn't produce. Any clues?
vbscript is not the same as a dos bat file. You need run it inside wsh(windows scripting host), as far as I remember.
Normally all you need to do is call it like you would a batch file because WSH is a normal part of windows, unless a resriction is in place, like when running on a server which may be why you are getting errors.
Check MSDN for the syntax for calling it from within another program, because I have never done that.
Lloyd Prendergast Michael Kors (USA), Inc. Phone: 201-453-5076 Fax: 646-354-4776 Lloyd.Prendergast@Michaelkors.com
I think you got it Lloyd. I got some help from the MS sight. The correct syntax for running a VB script (.vbs file) in Webfocus is: CMD CSCRIPT.EXE \\MYFILE\MYSCRIPT.VBS
Now the problem I run into is that my VB script is referrencing MS ACCESS ActiveX objects, which the Webfocus server doesn't recognize.
That's one problem you will ru into. WSH is very powerful and can cripple a machine if one is not careful (thats how a lot of the script kiddie virus variants get written), so alot shops resrict its usage, you should check with them with what is allowed and what isnt.
As far as the ActivX, it may not be installed on the webfocus server (WSH locally where its called from, in this case the WEBfocus server). One way around this (if allowed on your network) is to use a RPC (remote Procedure call) to a server which has access and the activex installed. I dont have syntax for this because I have not done it, but it is possible.
Please note this may or may not work dependant on the resriictions on your network, some allow RPC on Intra-connected (local network) machines some do not. Almost all will restrict inter-connected (over the internet) machines.
Lloyd Prendergast Michael Kors (USA), Inc. Phone: 201-453-5076 Fax: 646-354-4776 Lloyd.Prendergast@Michaelkors.com