Determining contention resolution status

You can determine whether ZIETrans successfully negotiates contention resolution for a particular TN3270E connection. To examine a ZIETrans trace to see the results of the negotiation, follow these steps:
  1. Turn on traces for HOD transport and for ZIETrans runtime. For more information about tracing, see Using the functions in ZIETrans administrative console. In the runtime.properties file, the settings are:
    trace.HOD.TRANSPORT=2
    trace.RUNTIME=7 
  2. View the trace file (typically contained within the logs directory of the ZIETrans.ear file with a file name starting with trace).
  3. Look for entries together in the trace file, similar to these, when the connection was started:
    Text        HOD          HOD.()
    	  Correlator: HodConn:localhost:localhost:server1:ZIETrans.ear#1
    	  trcmsg: -->TN3270 : Negotiate     CMD = DO      OPT = TN3270-E
    
    	Text        HOD          HOD.()
    	  Correlator: HodConn:localhost:localhost:server1:ZIETrans.ear#1
    	  trcmsg: <--TN3270 : Response      CMD = WILL    OPT = TN3270-E
    The key text, highlighted in bold, is CMD = DO and CMD = WILL when OPT = TN3270-E also appears (shown here in bold). If both CMD = DO and CMD = WILL appear, ZIETrans successfully negotiated TN3270E for that particular host connection, and can request contention resolution. If CMD = WONT, CMD = DONT, or both appear, it is likely that the host does not support TN3270E, and ZIETrans cannot request contention resolution.
  4. Look for an entry similar to this one when the connection was started:
    Text        HOD          HOD.()
    	  Correlator: HodConn:localhost:localhost:server1:ZIETrans.ear#1
    	  trcmsg: <--TN3270 : FUNCTION_STATUS: CR REQUESTED
    The key text, highlighted in bold, is FUNCTION_STATUS: CR REQUESTED. If this text appears, ZIETrans has requested contention resolution for that particular host connection.
  5. Look for an entry similar to this one when the connection was started:
    Text        HOD          HOD.()
    	  Correlator: HodConn:localhost:localhost:server1:ZIETrans.ear#1
    	  trcmsg: <--TN3270E: FUNCTION_STATUS: CR ENABLED
    The key text, highlighted in bold, is FUNCTION_STATUS: CR ENABLED. If this text appears, ZIETrans has successfully negotiated contention resolution for that particular host connection.
  6. Look for entries together similar to these two when ZIETrans performs screen-settling:
    Text        RUNTIME      runtime.NextScreenBean.getInstance()                   
    	  isEnhancedTNServer=true
    
    	Text        RUNTIME      runtime.Fast3270ENSB.<init>()                          
    	  Create: Fast3270E: initialConnect=false, ttwOriginal=1200, 
                                               tStartedWaiting=0,tLastPSEvent=0, 
                                               keyToSend=[enter], minimumWait=250
    The key text, highlighted in bold, is EnhancedTNServer=true and Create: Fast3270E. If these appear, ZIETrans has successfully negotiated contention resolution and is responding by using the Fast3270E strategy for analyzing outbound data.