Package com.ibm.jakarta.connector2.cics
Class EPIInteraction
java.lang.Object
com.ibm.jakarta.connector2.cics.CICSInteraction
com.ibm.jakarta.connector2.cics.EPIInteraction
- All Implemented Interfaces:
jakarta.resource.cci.Interaction
An EPIInteraction is used to interact with the terminal
requested from the connection factory.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close this connection.boolean
execute
(jakarta.resource.cci.InteractionSpec spec, jakarta.resource.cci.Record input, jakarta.resource.cci.Record output) This method will send the input record via a CICS terminal and return the new screen returned in the output record.Methods inherited from class com.ibm.jakarta.connector2.cics.CICSInteraction
clearWarnings, execute, getConnection, getWarnings
-
Field Details
-
CLASS_VERSION
- See Also:
-
-
Method Details
-
close
public void close() throws jakarta.resource.ResourceExceptionClose this connection.- Specified by:
close
in interfacejakarta.resource.cci.Interaction
- Overrides:
close
in classCICSInteraction
- 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.
-