TYPE

Read syntax diagramSkip visual syntax diagram
   .-TYPE--(--UNCOND--)-----.   
>>-+------------------------+----------------------------------><
   |          .-UNCOND-.    |   
   '-TYPE--(--+--------+--)-'   
              +-COND---+        
              '-FORCE--'        

Specifies the manner in which an active session between an application acting as a primary logical unit (PLU) and another logical unit is to be ended.
TYPE(COND)
Specifies that the LOSTERM exit routine of the PLU receives a code indicating conditional session ending.
TYPE(FORCE)
Specifies that the PLU's NSEXIT exit routine receives a code indicating forced ending and the session is brought down immediately by the SSCP. If there is no NSEXIT exit routine, VTAM® sends the code to the LOSTERM exit routine, which must issue a CLSDST macroinstruction.
TYPE(UNCOND)
Specifies that the PLU's LOSTERM exit is driven with a code indicating unconditional session ending. SENDs and RECEIVEs stop immediately, and the PLU is to clean up storage used for the session by issuing a CLSDST macroinstruction.

UNCOND is used for normal situations when the session is assumed to be viable and an UNBIND can be sent to end the session. FORCE is used in abnormal situations, for example, when either one of the session ends cannot communicate with the SSCP. When use of the UNCOND operand has no effect, the FORCE operand should be specified.