Class CicsSequential

All Implemented Interfaces:
IPersistence, AbstractDataObject, ICBLBeanNGroup, ICBLContainer, IFieldContainer, ISMBean, ISMDataType

public abstract class CicsSequential extends SequentialNIOFile
This class is the super class of data-items accesed by CICS IO operations e.g. CICS READ , WRITE, DELETE, REWRITE
  • Constructor Details

    • CicsSequential

      public CicsSequential(BaseService owner)
  • Method Details

    • getOwningCicsService

      public CicsBaseService getOwningCicsService()
    • processException

      protected int processException(CBLException e)
      constructor
      Parameters:
      owner -
      eibaid - / public CicsPersistence(CicsBaseService owner ,Eibaid eibaid) { super(owner); this.eibaid = eibaid; this.owningCicsService = owner; }
    • processException

      protected int processException(CBLException e, boolean invokeHandler)
      Set appropriate responseCodes, and invoke the conditionHandler
      Parameters:
      e -
      Returns:
    • processException

      protected int processException(CBLException e, boolean invokeHandler, int overridingResponseCode)
      Set appropriate responseCodes, and invoke the conditionHandler
      Parameters:
      e -
      Returns:
    • insert

      public int insert()
      Description copied from class: AbstractBasePersistence
      Insert a record - populate the values from the existing fields
      Overrides:
      insert in class AbstractBasePersistence
    • read

      public int read()
      Description copied from class: AbstractSequentialFile
      Same as next() .
      Reads the next record from file. DOES NOT THROW AtEndException ... instead only the FileStatus will be changed.
      Overrides:
      read in class AbstractSequentialFile
      Returns:
      when successful it returns IPersistence.STATUS_SUCCESS
    • assignResponseCode

      protected void assignResponseCode(int value)
      Used internally to set the IO operation status-values. Also if a FileStatus field is defined, the system will allocate correct values to it.
      Parameters:
      value - - .. one of ..
    • setResponseCode2

      protected void setResponseCode2(int responseCode2)
      Used internally to set the IO operation status-values.
      Parameters:
      value - - .. one of ..
    • setEibFunction

      protected void setEibFunction(String value)
      Used internally to set the IO operation status-values. Also if a FileStatus field is defined, the system will allocate correct values to it.
      Parameters:
      value - - .. one of ..
    • getResponseCode

      public int getResponseCode()
      Used internally to set the IO operation status-values. Also if a FileStatus field is defined, the system will allocate correct values to it.
      Returns:
      - the status value .. one of ACMBasePersistent.STATUS_xxxx
    • getResponse2Code

      public int getResponse2Code()
    • assignFileName

      public void assignFileName(String fileName)
      In Sequential File Processing - it overwrites the default name of an input/output file automatically assigned by the system.
      Overrides:
      assignFileName in class AbstractSequentialFile
      Parameters:
      fileName -
    • setStorageLength

      public void setStorageLength(int newLength)
      to do ... not implemented
      Parameters:
      newLength -
    • retrieveNativeKeys

      public ISMObject[] retrieveNativeKeys()
      used internally by softwareMining
    • getRecordKey

      public String getRecordKey()
    • assignRecordKey

      public void assignRecordKey(ISMObject _recordKey)
    • assignRecordKeyValue

      public void assignRecordKeyValue(String newValue)
    • assignLock

      public void assignLock(boolean newLocValue)
      Blank method - no functionality is currently deemed to be required
      Overrides:
      assignLock in class AbstractBasePersistence
      Parameters:
      newLocValue -
    • releaseResources

      public void releaseResources(boolean forceRelease)
      Description copied from interface: ISMBean
      For internal use only - memory management stuff
      Specified by:
      releaseResources in interface ISMBean
      Overrides:
      releaseResources in class CBLBean
      Parameters:
      forceRelease -