public class EnterRequest extends API implements java.io.Serializable
This Bean provides the Java equivalent to the EXEC CICS ENTER command.
It defines the following properties:
Constructor and Description |
---|
EnterRequest()
Construct an EnterRequest bean.
|
Modifier and Type | Method and Description |
---|---|
void |
enterTrace()
Perform a trace entry request
|
void |
enterTrace(byte[] data)
Perform a trace entry request with supplied data
|
java.lang.String |
getResource()
Return the Resource
|
short |
getTraceIdentifier()
Return the TraceIdentifier
|
boolean |
isException()
Is a trace entry to be produced on an exception if trace flags are off?
|
void |
setException(boolean traceException)
Control whether trace entry is produced on exception if trace
flags are off
|
void |
setResource(java.lang.String resource)
Set the Resource.
|
void |
setTraceIdentifier(short traceId)
Set the TraceIdentifier
|
public EnterRequest()
public void enterTrace() throws InvalidRequestException, LengthErrorException
InvalidRequestException
- INVREQLengthErrorException
- LENGERRpublic void enterTrace(byte[] data) throws InvalidRequestException, LengthErrorException
data
- the trace dataInvalidRequestException
- INVREQLengthErrorException
- LENGERRpublic java.lang.String getResource()
public short getTraceIdentifier()
public boolean isException()
public void setException(boolean traceException)
traceException
- true means a trace entry will be produced on an exception if
trace flags are off, false means not.public void setResource(java.lang.String resource)
resource
- the Resourcepublic void setTraceIdentifier(short traceId)
traceId
- the trace identifier