public class TDQ extends RemotableResource
This Class provides the Java implementation of CICS Transient Data Queues (TDQs).
com.ibm.cics.server.API for general restrictions on using the JCICS API.,
Serialized Form| Constructor and Description |
|---|
TDQ()
Construct a TDQ bean.
|
TDQ(java.lang.String name)
Construct a TDQ object with a specific name
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete a Transient Data Queue.
|
void |
readData(DataHolder holder)
Read data from a TDQ.
|
void |
readDataConditional(DataHolder holder)
Read data from a TDQ.
|
void |
writeData(byte[] data)
Write data to a TDQ.
|
void |
writeString(java.lang.String data)
Write a String to a TDQ.
|
getSysId, setSysIdgetDescription, getName, setDescription, setNamegetCICSServerApiVersionpublic TDQ()
public TDQ(java.lang.String name)
name - The name of the TDQ objectpublic void delete()
throws IOErrorException,
ISCInvalidRequestException,
NotAuthorisedException,
InvalidQueueIdException,
InvalidSystemIdException
IOErrorException - An IOERR occurred.ISCInvalidRequestException - An ISCINVREQ occurred.NotAuthorisedException - A NOTAUTH occurred.InvalidQueueIdException - A QIDERR occurred.InvalidSystemIdException - A SYSIDERR occurred.public void readData(DataHolder holder) throws IOErrorException, ISCInvalidRequestException, LengthErrorException, NotAuthorisedException, NotOpenException, InvalidQueueIdException, QueueZeroException, InvalidSystemIdException
holder - The holder for the data to be returned.IOErrorException - An IOERR occurred.ISCInvalidRequestException - An ISCINVREQ occurred.LengthErrorException - A LENGERR occurred.NotAuthorisedException - A NOTAUTH occurred.NotOpenException - A NOTOPEN occurred.InvalidQueueIdException - A QIDERR occurred.QueueZeroException - A QZERO occurred.InvalidSystemIdException - A SYSIDERR occurred.public void readDataConditional(DataHolder holder) throws IOErrorException, ISCInvalidRequestException, LengthErrorException, NotAuthorisedException, NotOpenException, QueueBusyException, InvalidQueueIdException, QueueZeroException, InvalidSystemIdException
holder - The holder for the data to be returned.IOErrorException - An IOERR occurred.ISCInvalidRequestException - An ISCINVREQ occurred.LengthErrorException - A LENGERR occurred.NotAuthorisedException - A NOTAUTH occurred.NotOpenException - A NOTOPEN occurred.QueueBusyException - A QBUSY occurred.InvalidQueueIdException - A QIDERR occurred.QueueZeroException - A QZERO occurred.InvalidSystemIdException - A SYSIDERR occurred.public void writeData(byte[] data)
throws IOErrorException,
ISCInvalidRequestException,
LengthErrorException,
NoSpaceException,
NotAuthorisedException,
NotOpenException,
InvalidSystemIdException
data - A Java byte array containing the data to be written to the
TDQ.IOErrorException - An IOERR occurred.ISCInvalidRequestException - An ISCINVREQ occurred.LengthErrorException - A LENGERR occurred.NoSpaceException - A NOSPACE occurred.NotAuthorisedException - A NOTAUTH occurred.NotOpenException - A NOTOPEN occurred.InvalidSystemIdException - A SYSIDERR occurred.public void writeString(java.lang.String data)
throws IOErrorException,
ISCInvalidRequestException,
LengthErrorException,
NoSpaceException,
NotAuthorisedException,
NotOpenException,
InvalidSystemIdException
data - the String data to write to the TDQIOErrorException - An IOERR occurred.ISCInvalidRequestException - An ISCINVREQ occurred.LengthErrorException - A LENGERR occurred.NoSpaceException - A NOSPACE occurred.NotAuthorisedException - A NOTAUTH occurred.NotOpenException - A NOTOPEN occurred.InvalidSystemIdException - A SYSIDERR occurred.