com.ibm.cics.server

Interface CICSTransactionCallable<T>

  • Type Parameters:
    T - The type of Object the Callable will return
    All Superinterfaces:
    java.util.concurrent.Callable<T>


    public interface CICSTransactionCallable<T>
    extends java.util.concurrent.Callable<T>
    This interface allows a user to indicate that the Callable work should be executed under a CICS transaction id of choice, rather than the default transaction id.
    Since CICS TS version:
    5.3
    Since package version:
    1.601.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getTranid()
      CICS will query this method to obtain the user-supplied transaction id under which the work should run.
      • Methods inherited from interface java.util.concurrent.Callable

        call
    • Method Detail

      • getTranid

        java.lang.String getTranid()
        CICS will query this method to obtain the user-supplied transaction id under which the work should run.
        Returns:
        a four character transaction id under which you would like the Callable code to execute in CICS. Avoid using restricted CICS transaction names, like those that begin with 'C'.