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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
I know nothing about Service Manager and iWay functions, but there is a WebFOCUS function, FGETENV, that is used to retrieve values from system environment variables. You could see if it works in iWay.
Syntax: How to Retrieve the Value of an Environment Variable
FGETENV(varlength, 'varname', outfieldlen, outfldformat);
varlength=Integer - Is the length of the environment variable name.
varname=Alphanumeric - Is the name of the environment variable.
outfieldlen=Integer - Is the length of the field in which the environment variable's value is stored.
outfldformat=Alphanumeric - Is the format of the field in which the environment variable's value is stored.
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
WebFOCUS / iDM function FGETENV does not work in iSM.
One comment about FGETENV function in iDM is whenever the Windows environment variable value changes, iDM server has to be restarted to load the new value. If the server is not restarted the function always retrieves the old value. Looks like this function does not call the env var directly but rather calls the variables that are loaded in memory when the server is started.
iSM 616 iDM 7705 iDQC 802 WF 77 Windows 2008 Server