Class EPIInteraction

java.lang.Object
com.ibm.jakarta.connector2.cics.CICSInteraction
com.ibm.jakarta.connector2.cics.EPIInteraction
All Implemented Interfaces:
jakarta.resource.cci.Interaction

public final class EPIInteraction extends CICSInteraction
An EPIInteraction is used to interact with the terminal requested from the connection factory.
  • Field Details

  • Method Details

    • close

      public void close() throws jakarta.resource.ResourceException
      Close this connection.
      Specified by:
      close in interface jakarta.resource.cci.Interaction
      Overrides:
      close in class CICSInteraction
      Throws:
      jakarta.resource.ResourceException
    • execute

      public boolean execute(jakarta.resource.cci.InteractionSpec spec, jakarta.resource.cci.Record input, jakarta.resource.cci.Record output) throws jakarta.resource.ResourceException
      This method will send the input record via a CICS terminal and return the new screen returned in the output record.
      Parameters:
      spec - A valid EPIInteractionSpec Object.
      input - The Record to send to CICS.
      output - The Record to put the resulting Screen into.
      Returns:
      The return value currently has no meaning and can be ignored.
      Throws:
      jakarta.resource.ResourceException - If an attempt to execute fails for any reason.