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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    assign a status FIELD
    int
    delete All Records.
    return the value read
     
    get the name
    int
    Deprecated. 
    int
    Insert an item into the queue
    int
    CICS READ ...
    int
    read the first item from top of the list
    void
    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 Read
    void
    setItem(ISMNumeric itemObject)
    Write to the "Item-Number" field of the queue, and tell the system the next operation is Find and not Read
    void
    setStorageLength(int newLength)
    set storage length
    int
    Write to the "Item-Number" field of the queue, and tell the system the next operation is Find and not Read
    void
    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

      void setItem(ISMNumeric itemObject)
      Write to the "Item-Number" field of the queue, and tell the system the next operation is Find and not Read
    • setData

      void setData(String data)
    • setData

      void setData(long data)
    • getData

      String getData()
      return the value read
    • getObjectData

      CBLString getObjectData()
    • assignResponseCodeField

      void assignResponseCodeField(ISMObject status)
      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: