Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     return code from vb script
Go
New
Search
Notify
Tools
Reply
  
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, 2004Reply With QuoteReport 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, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     return code from vb script

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.