public class ESDS extends KeyedFile
This class is the implementation class for the ESDS kind of file.
com.ibm.cics.server.API
for general restrictions on using the JCICS API.
,
Serialized FormConstructor and Description |
---|
ESDS()
Construct a default ESDS object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isXRBA()
isXRBA.
|
void |
read(long byteAddress,
RecordHolder holder)
Read a specific record from an ESDS file.
|
void |
readForUpdate(long byteAddress,
RecordHolder holder)
Read a specific record from an ESDS file and lock it for update.
|
void |
rewrite(byte[] data)
Update a record in a file.
|
void |
setXRBA(boolean XRBA)
SetXRBA.
|
ESDS_Browse |
startBrowse(long byteAddress)
Create a browse against the file.
|
void |
unlock()
Unlock a file.
|
long |
write(byte[] data)
Write a new record to a file.
|
long |
write(byte[] alternateKey,
byte[] data)
Write a new record to a file via an alternate key.
|
read, read, readForUpdate, readForUpdate, readGeneric, readGeneric, readGenericForUpdate, readGenericForUpdate, startBrowse, startBrowse, startGenericBrowse, startGenericBrowse
getSysId, setSysId
getDescription, getName, setDescription, setName
public ESDS()
public void setXRBA(boolean XRBA)
XRBA
- true if setpublic boolean isXRBA()
public void read(long byteAddress, RecordHolder holder) throws FileDisabledException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, LengthErrorException, NotAuthorisedException, RecordNotFoundException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
byteAddress
- the record to readholder
- a holder for the record to readFileDisabledException
- DISABLEDFileNotFoundException
- FILENOTFOUNDLogicException
- ILLOGICInvalidRequestException
- INVREQIOErrorException
- IOERRISCInvalidRequestException
- ISCINVREQLengthErrorException
- LENGERRNotAuthorisedException
- NOTAUTHRecordNotFoundException
- NOTFNDNotOpenException
- NOTOPENInvalidSystemIdException
- SYSIDERRRecordBusyException
- RECORDBUSYLoadingException
- LOADINGLockedException
- LOCKEDChangedException
- CHANGEDpublic void readForUpdate(long byteAddress, RecordHolder holder) throws FileDisabledException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, LengthErrorException, NotAuthorisedException, RecordNotFoundException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
byteAddress
- the record to readholder
- a holder for the record to readFileDisabledException
- DISABLEDFileNotFoundException
- FILENOTFOUNDLogicException
- ILLOGICInvalidRequestException
- INVREQIOErrorException
- IOERRISCInvalidRequestException
- ISCINVREQLengthErrorException
- LENGERRNotAuthorisedException
- NOTAUTHRecordNotFoundException
- NOTFNDNotOpenException
- NOTOPENInvalidSystemIdException
- SYSIDERRRecordBusyException
- RECORDBUSYLoadingException
- LOADINGLockedException
- LOCKEDChangedException
- CHANGEDpublic void rewrite(byte[] data) throws FileDisabledException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, LengthErrorException, NoSpaceException, NotAuthorisedException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
rewrite
in class KeyedFile
data
- data to writeFileDisabledException
- DISABLEDFileNotFoundException
- FILENOTFOUNDLogicException
- ILLOGICInvalidRequestException
- INVREQIOErrorException
- IOERRISCInvalidRequestException
- ISCINVREQLengthErrorException
- LENGERRNoSpaceException
- NOSPACENotAuthorisedException
- NOTAUTHNotOpenException
- NOTOPENInvalidSystemIdException
- SYSIDERRRecordBusyException
- RECORDBUSYLoadingException
- LOADINGLockedException
- LOCKEDChangedException
- CHANGEDpublic ESDS_Browse startBrowse(long byteAddress) throws FileDisabledException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, NotAuthorisedException, RecordNotFoundException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
byteAddress
- The RBA of the record at which to start the browse.FileDisabledException
- DISABLEDFileNotFoundException
- FILENOTFOUNDLogicException
- ILLOGICInvalidRequestException
- INVREQIOErrorException
- IOERRISCInvalidRequestException
- ISCINVREQNotAuthorisedException
- NOTAUTHRecordNotFoundException
- NOTFNDNotOpenException
- NOTOPENInvalidSystemIdException
- SYSIDERRRecordBusyException
- RECORDBUSYLoadingException
- LOADINGLockedException
- LOCKEDChangedException
- CHANGEDpublic long write(byte[] data) throws FileDisabledException, DuplicateRecordException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, LengthErrorException, NoSpaceException, NotAuthorisedException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
data
- data to writeFileDisabledException
- DISABLEDDuplicateRecordException
- DUPRECFileNotFoundException
- FILENOTFOUNDLogicException
- ILLOGICInvalidRequestException
- INVREQIOErrorException
- IOERRISCInvalidRequestException
- ISCINVREQLengthErrorException
- LENGERRNoSpaceException
- NOSPACENotAuthorisedException
- NOTAUTHNotOpenException
- NOTOPENInvalidSystemIdException
- SYSIDERRRecordBusyException
- RECORDBUSYLoadingException
- LOADINGLockedException
- LOCKEDChangedException
- CHANGEDpublic long write(byte[] alternateKey, byte[] data) throws FileDisabledException, DuplicateRecordException, FileNotFoundException, LogicException, InvalidRequestException, IOErrorException, ISCInvalidRequestException, LengthErrorException, NoSpaceException, NotAuthorisedException, NotOpenException, InvalidSystemIdException, ChangedException, LockedException, LoadingException, RecordBusyException
alternateKey
- The alternate key for the new recorddata
- The data for the new recordFileDisabledException
- DISABLEDDuplicateRecordException
- DUPRECFileNotFoundException
- FILENOTFOUNDLogicException
- ILLOGICInvalidRequestException
- INVREQIOErrorException
- IOERRISCInvalidRequestException
- ISCINVREQLengthErrorException
- LENGERRNoSpaceException
- NOSPACENotAuthorisedException
- NOTAUTHNotOpenException
- NOTOPENInvalidSystemIdException
- SYSIDERRRecordBusyException
- RECORDBUSYLoadingException
- LOADINGLockedException
- LOCKEDChangedException
- CHANGEDpublic void unlock() throws FileDisabledException, FileNotFoundException, LogicException, IOErrorException, ISCInvalidRequestException, NotAuthorisedException, NotOpenException, InvalidSystemIdException
FileDisabledException
- DISABLEDFileNotFoundException
- FILENOTFOUNDLogicException
- ILLOGICIOErrorException
- IOERRISCInvalidRequestException
- ISCINVREQNotAuthorisedException
- NOTAUTHNotOpenException
- NOTOPENInvalidSystemIdException
- SYSIDERR