|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.cics.server.API
com.ibm.cics.server.Resource
com.ibm.cics.server.RemotableResource
com.ibm.cics.server.KeyedFile
com.ibm.cics.server.ESDS
public class ESDS
This class is the implementation class for the ESDS kind of file.
Constructor Summary | |
---|---|
ESDS()
Construct a default ESDS object. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.ibm.cics.server.KeyedFile |
---|
read, read, readForUpdate, readForUpdate, readGeneric, readGeneric, readGenericForUpdate, readGenericForUpdate, startBrowse, startBrowse, startGenericBrowse, startGenericBrowse |
Methods inherited from class com.ibm.cics.server.RemotableResource |
---|
getSysId, setSysId |
Methods inherited from class com.ibm.cics.server.Resource |
---|
getDescription, getName, setDescription, setName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ESDS()
Method Detail |
---|
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 read
FileDisabledException
- DISABLED
FileNotFoundException
- FILENOTFOUND
LogicException
- ILLOGIC
InvalidRequestException
- INVREQ
IOErrorException
- IOERR
ISCInvalidRequestException
- ISCINVREQ
LengthErrorException
- LENGERR
NotAuthorisedException
- NOTAUTH
RecordNotFoundException
- NOTFND
NotOpenException
- NOTOPEN
InvalidSystemIdException
- SYSIDERR
RecordBusyException
- RECORDBUSY
LoadingException
- LOADING
LockedException
- LOCKED
ChangedException
- 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 read
FileDisabledException
- DISABLED
FileNotFoundException
- FILENOTFOUND
LogicException
- ILLOGIC
InvalidRequestException
- INVREQ
IOErrorException
- IOERR
ISCInvalidRequestException
- ISCINVREQ
LengthErrorException
- LENGERR
NotAuthorisedException
- NOTAUTH
RecordNotFoundException
- NOTFND
NotOpenException
- NOTOPEN
InvalidSystemIdException
- SYSIDERR
RecordBusyException
- RECORDBUSY
LoadingException
- LOADING
LockedException
- LOCKED
ChangedException
- 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 write
FileDisabledException
- DISABLED
FileNotFoundException
- FILENOTFOUND
LogicException
- ILLOGIC
InvalidRequestException
- INVREQ
IOErrorException
- IOERR
ISCInvalidRequestException
- ISCINVREQ
LengthErrorException
- LENGERR
NoSpaceException
- NOSPACE
NotAuthorisedException
- NOTAUTH
NotOpenException
- NOTOPEN
InvalidSystemIdException
- SYSIDERR
RecordBusyException
- RECORDBUSY
LoadingException
- LOADING
LockedException
- LOCKED
ChangedException
- 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
- DISABLED
FileNotFoundException
- FILENOTFOUND
LogicException
- ILLOGIC
InvalidRequestException
- INVREQ
IOErrorException
- IOERR
ISCInvalidRequestException
- ISCINVREQ
NotAuthorisedException
- NOTAUTH
RecordNotFoundException
- NOTFND
NotOpenException
- NOTOPEN
InvalidSystemIdException
- SYSIDERR
RecordBusyException
- RECORDBUSY
LoadingException
- LOADING
LockedException
- LOCKED
ChangedException
- 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 write
FileDisabledException
- DISABLED
DuplicateRecordException
- DUPREC
FileNotFoundException
- FILENOTFOUND
LogicException
- ILLOGIC
InvalidRequestException
- INVREQ
IOErrorException
- IOERR
ISCInvalidRequestException
- ISCINVREQ
LengthErrorException
- LENGERR
NoSpaceException
- NOSPACE
NotAuthorisedException
- NOTAUTH
NotOpenException
- NOTOPEN
InvalidSystemIdException
- SYSIDERR
RecordBusyException
- RECORDBUSY
LoadingException
- LOADING
LockedException
- LOCKED
ChangedException
- 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 record
FileDisabledException
- DISABLED
DuplicateRecordException
- DUPREC
FileNotFoundException
- FILENOTFOUND
LogicException
- ILLOGIC
InvalidRequestException
- INVREQ
IOErrorException
- IOERR
ISCInvalidRequestException
- ISCINVREQ
LengthErrorException
- LENGERR
NoSpaceException
- NOSPACE
NotAuthorisedException
- NOTAUTH
NotOpenException
- NOTOPEN
InvalidSystemIdException
- SYSIDERR
RecordBusyException
- RECORDBUSY
LoadingException
- LOADING
LockedException
- LOCKED
ChangedException
- CHANGEDpublic void unlock() throws FileDisabledException, FileNotFoundException, LogicException, IOErrorException, ISCInvalidRequestException, NotAuthorisedException, NotOpenException, InvalidSystemIdException
FileDisabledException
- DISABLED
FileNotFoundException
- FILENOTFOUND
LogicException
- ILLOGIC
IOErrorException
- IOERR
ISCInvalidRequestException
- ISCINVREQ
NotAuthorisedException
- NOTAUTH
NotOpenException
- NOTOPEN
InvalidSystemIdException
- SYSIDERR
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |