To prevent users accessing a LANSA Web system, you can place the system on "Hold". One on "Hold", the Web Administrator will allow IIS to continue to handle requests and pass them on to the LANSA Web Server Extension which displays the Hold message (that you have specified) as an HTML page. That is, IIS is still serving the request passing it on to the LANSA Web Server Extension. Note that when you change the Hold setting you will need to restart the Web server (V14 GA and earlier) or the website (V14 SP1 and later)
Normally you use the Hold System option in the LANSA Web Administrator.
LANSA Web is also provided with program W3@P2903 which you can use to Hold/Release LANSA Systems.
The parameters to the W3@P2903 program are:
|
For example, to Hold ALL Systems, you would call W3@P2903 with these Parameters:
CALL W3@P2903 PARM('HLD')
To Hold only the DCXPGMLIB System on Port 80, you could call W3@P2903 with these Parameters:
CALL W3@P2903 PARM('HLD' '*DEFAULT' '80')
To Release all Systems, you would use these Parameters:
CALL W3@P2903 PARM('RLS')
To Release only the DCXPGMLIB System on Port 80, you would use these Parameters:
CALL W3@P2903 PARM('RLS' '*DEFAULT' '80')
Also see