3.5 Hold/Release LANSA for the WEB Systems
To prevent users accessing a LANSA for the 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 Plug-in 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 Plug-in.
Normally you use the
option in the LANSA for the Web Administrator.LANSA for the 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:
Parameter |
Format |
Contents |
Action |
CHAR (3) |
HLD indicates that you want to Hold System. RLS indicates that you want to Release System. |
System Name |
CHAR (50) |
Use *DEFAULT as your Default Parameter |
Port Number |
CHAR (5) |
The port number for the System Name |
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