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 Link icon

    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 Link icon

    • read Link icon

      int read()
      read the first item from top of the list
    • next Link icon

      int next()
      CICS READ ... NEXT This is after read
    • insert Link icon

      int insert()
      Insert an item into the queue
    • delete Link icon

      int delete()
      delete All Records. (MQ Does not allow deletion of an individual record. Can only delete the entire queue)
    • update Link icon

      void update(int itemNumber)
    • update Link icon

      int update()
      Write to the "Item-Number" field of the queue, and tell the system the next operation is Find and not Read
    • setItem Link icon

      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 Link icon

      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 Link icon

      void setData(String data)
    • setData Link icon

      void setData(long data)
    • getData Link icon

      String getData()
      return the value read
    • getObjectData Link icon

      CBLString getObjectData()
    • assignResponseCodeField Link icon

      void assignResponseCodeField(ISMObject status)
      assign a status FIELD
    • getQueueName Link icon

      String getQueueName()
      get the name
      Returns:
    • setStorageLength Link icon

      void setStorageLength(int newLength)
      set storage length
      Parameters:
      newLength -
    • getResponse2Code Link icon

      int getResponse2Code()
      Deprecated.
      provides additional information for when errors occur (in addition to the standard RESPONSE-CODE)
      Returns: