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     return code from vb script

Read-Only Read-Only Topic
Go
Search
Notify
Tools
return code from vb script
 Login/Join
 
Platinum Member
posted
Does anyone know how to get a returncode from vb script returned to the dialoge manager &retcode?

my vb works from dialog manager:

-WINNT E:\SRTWRK\test.vbs
-TYPE RETCODE= &IORETURN

But I can't get the return code.

I quit the vb as follows.:

WScript.Quit (3)


Is there a way to run it as a function?

like
-set &retcode = (E:\SRTWRK\test.vbs,'i4'); ?
 
Posts: 103 | Location: ricmmond va | Registered: September 30, 2004Report This Post
Gold member
posted Hide Post
-- You wrote:
my vb works from dialog manager:

-WINNT E:\SRTWRK\test.vbs
-TYPE RETCODE= &IORETURN

-- My turn:

I don't use WebFocus on Windows, buuuuuut:

-WINNT E:\SRTWRK\test.vbs
-TYPE RETCODE=&RETCODE

might work better. On unix, &RETCODE does not work and instead you have to use &EXITRC. So maybe in windows the proper code would be:

-WINNT E:\SRTWRK\test.vbs
-TYPE EXITRC=&EXITRC

Also, you may want to know that on unix the darned &EXITRC doesn't work for WebFocus releases 5.2.x. Supposedly it is fixed for the 5.3.x series of releases.

Hope this helps rather than confuses.
 
Posts: 83 | Location: Dartmouth Hitchcock Medical Center | Registered: April 17, 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     return code from vb script

Copyright © 1996-2020 Information Builders