Interface IQueueStorage
- All Known Implementing Classes:
TSQueueStorageImpl
public interface IQueueStorage
This interface is used in translation of CICS TSQ API.
SoftwareMininig's implementation (QueueStorageImpl) bypasses original TSQ and uses a DB2 and memory queues.
You can create your own implementation for communication with TSQ or other Queue storage API.
For more information please see documentation on TSQInterface.
You can create your own implementation for communication with TSQ or other Queue storage API.
For more information please see documentation on TSQInterface.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResponseCodeField
(ISMObject status) assign a status FIELDint
delete()
delete All Records.getData()
return the value readget the nameint
Deprecated.int
insert()
Insert an item into the queueint
next()
CICS READ ...int
read()
read the first item from top of the listvoid
setData
(long data) void
void
setItem
(int itemNum) Write to the "Item-Number" field of the queue, and tell the system the next operation is Find and not Readvoid
setItem
(ISMNumeric itemObject) Write to the "Item-Number" field of the queue, and tell the system the next operation is Find and not Readvoid
setStorageLength
(int newLength) set storage lengthint
update()
Write to the "Item-Number" field of the queue, and tell the system the next operation is Find and not Readvoid
update
(int itemNumber)
-
Method Details
-
read
int read()read the first item from top of the list -
next
int next()CICS READ ... NEXT This is after read -
insert
int insert()Insert an item into the queue -
delete
int delete()delete All Records. (MQ Does not allow deletion of an individual record. Can only delete the entire queue) -
update
void update(int itemNumber) -
update
int update()Write to the "Item-Number" field of the queue, and tell the system the next operation is Find and not Read -
setItem
void setItem(int itemNum) Write to the "Item-Number" field of the queue, and tell the system the next operation is Find and not Read- Parameters:
data
-
-
setItem
Write to the "Item-Number" field of the queue, and tell the system the next operation is Find and not Read -
setData
-
setData
void setData(long data) -
getData
String getData()return the value read -
getObjectData
CBLString getObjectData() -
assignResponseCodeField
assign a status FIELD -
getQueueName
String getQueueName()get the name- Returns:
-
setStorageLength
void setStorageLength(int newLength) set storage length- Parameters:
newLength
-
-
getResponse2Code
int getResponse2Code()Deprecated.provides additional information for when errors occur (in addition to the standard RESPONSE-CODE)- Returns:
-