com.microfocus.cobol.connector.cci.CobolInteraction
protected Connection | connection |
static int | ERR_NO_MANAGED_CONNECTION |
protected com.microfocus.cobol.connector.logging.RALogger | log |
Method Summary | |
---|---|
void | clearWarnings()
Clear all warnings with the Cobol Server. |
void | close()
close the interaction. |
Record | execute(InteractionSpec iSpec,
Record input)
Execute a Cobol Server function specified in the interaction spec. |
boolean | execute(InteractionSpec iSpec,
Record input,
Record output)
Execute a Cobol Server function specified in the interaction spec. |
Connection | getConnection()
Get the CobolConnection handle associated with this Cobol Interaction instance. |
ResourceWarning | getWarnings()
Get warnings from the Cobol Server. |
protected void | prepareFromCobCall(com.microfocus.cobol.lang.ParameterList outputList, Record out) |
protected Connection connection
protected transient com.microfocus.cobol.connector.logging.RALogger log
public static final int ERR_NO_MANAGED_CONNECTION
See Also:
public CobolInteraction(Connection con)
Construct a Cobol Interaction instance.
con | The CobolConnection handle. |
public Connection getConnection()
Get the CobolConnection handle associated with this Cobol Interaction instance.
public void close() throws ResourceException
Close the interaction.
public Record execute(InteractionSpec iSpec, Record input) throws ResourceException
Execute a Cobol Server function specified in the interaction spec.
iSpec | The CobolInteractionSpec. |
input | The input record to the interaction. |
public boolean execute(InteractionSpec iSpec, Record input Record output) throws ResourceException
Execute a Cobol Server function specified in the interaction spec.
iSpec | The CobolInteractionSpec. |
input | The input record to the interaction. |
output | The output record for the interaction. |
public ResourceWarning getWarnings() throws ResourceException
Get warnings from the Cobol Server.
public ResourceWarning clearWarnings() throws ResourceException
Clear warnings from the Cobol Server.
protected void prepareFromCobCall(com.microfocus.cobol.lang.ParameterList outputList, Record out) throws ResourceException