CICS Execution Command

The command for executing transactions entered from a CICS 3270 screen is XTC2 or XT32.

Their formats are listed as follow:
  • XTC2,<Type(G/R/F)>,<#-Msg>,<Msg-Len(1-4096000)>,<Service Name>,<#-CTN>,<Delay>
  • XT32,<Type(G/R/F)>,<#-Msg>,<Msg-Len(1-4096000)>,<Service Name>,<#-CTN>,<Delay Sec>

The details for each input parameter are listed as follows:

  • G: guaranteed using RED Send with Reply API
  • R: reliable using RED Send with Confirm API
  • F: fire and forget using RED Send API
  • #-Msg: the number of Trigger message to be sent
  • Msg-Len(1-4096000): the size of the Trigger message to be sent; valid values for this parameter are in the range 1 - 4096 KB
  • Service Name: the Trigger service name to be used
  • #-CTN: the number of containers number to be used; valid values for this parameter are in the range 1 - 20. If this parameter is not present, the COMMAREA is used.
  • Delay: the delay time in seconds between calls to SXCOTRED
For example, the following sample commands run the RED CICS Triggers:
XTC2,?
XTC2,,,,RED-TRG-NO-RULES
XTC2,R,1,2000,RED-TRG-NO-RULES,3
XTC2,G,1,2000,RED-TRG-TEXT

XT32,?
XT32,,,,RED-TRG-NO-RULES
XT32,R,1,2000,RED-TRG-NO-RULES,5,10
XT32,G,1,2000,RED-TRG-TEXT