Set various attributes of a specified CorbaServer.
SET CORBASERVER >>-SET CORBASERVER(data-value)--+-------------------+-----------> +-AUTOPUBLISH(cvda)-+ +-AUTOPUB-----------+ '-NOAUTO------------' >--+--------------------+--+--------------------------+-------->< +-ENABLESTATUS(cvda)-+ '-SESSBEANTIME(data-value)-' +-ENABLED------------+ '-DISABLED-----------'
Conditions: INVREQ, NOTAUTH, NOTFND
For more information about the use of CVDAs, see CICS-value data areas (CVDAs).
The SET CORBASERVER command allows you to:
Changing the setting of AUTOPUBLISH affects only DJAR definitions installed after the SET CORBASERVER command is executed. It has no effect on previously-installed DJAR definitions.
In a CICS region containing multiple CorbaServers, putting one of the CorbaServers into disabled state allows you to apply maintenance to it without bringing down CICS; the other CorbaServers remain available.
Similarly, in a logical EJB/CORBA server containing multiple AORs (each containing multiple CorbaServers), putting a CorbaServer on one of the AORs into disabled state allows you to apply maintenance to the CorbaServer without needing to remove the AOR from the routing set.
You can disable a CorbaServer that is in any state except ENABLING or DISCARDING. When you do so, any currently-executing methods are allowed to continue to completion. Until all its objects have been destroyed or passivated, the CorbaServer enters DISABLING state. Note that:
If the workload manager directs new work to an AOR in which the target CorbaServer is in DISABLING or DISABLED state, it is informed that the CorbaServer is disabled.
The new timeout value applies only to session beans created after the SESSBEANTIME value has been set. It does not affect existing session beans.