|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ims.db.GSAMConnection
Method Summary | |
void |
closeForRead(java.lang.String actualGSAMPCBName)
This method is used to close a GSAM PCB which was opened for READ ONLY. |
void |
closeForWrite(java.lang.String actualGSAMPCBName)
This method is used to close a GSAM PCB which was opened for LOAD ONLY. |
static GSAMConnection |
createInstance()
Creates a GSAMConnection instance |
boolean |
getNext(java.lang.String actualGSAMPCBName,
GSAMRecord gsamRecord)
This method is used to sequentially access GSAM records in a GSAM database. |
boolean |
getNext(java.lang.String actualGSAMPCBName,
GSAMRecord gsamRecord,
RSA rsa)
This method is used to sequentially access GSAM records in a GSAM database. |
boolean |
getUnique(java.lang.String actualGSAMPCBName,
GSAMRecord gsamRecord,
RSA rsa)
This method is used to randomly access a GSAM record in a GSAM database. |
void |
insert(java.lang.String actualGSAMPCBName,
GSAMRecord gsamRecord)
This method is used to insert a new GSAM record into a GSAM database. |
void |
insert(java.lang.String actualGSAMPCBName,
GSAMRecord gsamRecord,
RSA rsa)
This method is used to insert a new GSAM record into a GSAM database. |
void |
openForRead(java.lang.String actualGSAMPCBName)
This method is used to open a GSAM PCB for READ ONLY. |
void |
openForWrite(java.lang.String actualGSAMPCBName)
This method is used to open a GSAM PCB for LOAD ONLY. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static GSAMConnection createInstance()
public void openForRead(java.lang.String actualGSAMPCBName) throws IMSException
actualGSAMPCBName
- The actual GSAM PCB name as defined in the PSB.IMSException
- public void openForWrite(java.lang.String actualGSAMPCBName) throws IMSException
actualGSAMPCBName
- The actual GSAM PCB name as defined in the PSB.IMSException
- public void closeForRead(java.lang.String actualGSAMPCBName) throws IMSException
actualGSAMPCBName
- The actual GSAM PCB name as defined in the PSB.IMSException
- public void closeForWrite(java.lang.String actualGSAMPCBName) throws IMSException
actualGSAMPCBName
- The actual GSAM PCB name as defined in the PSB.IMSException
- public boolean getUnique(java.lang.String actualGSAMPCBName, GSAMRecord gsamRecord, RSA rsa) throws IMSException
actualGSAMPCBName
- The actual GSAM PCB name as defined in the PSBgsamRecord
- The GSAMRecord
object that will be
filled with the GSAM database record data. It is
an output parameter.rsa
- The RSA
(Record Search Argument) object
that contains the address of a unique GSAM
database record.IMSException
- public boolean getNext(java.lang.String actualGSAMPCBName, GSAMRecord gsamRecord) throws IMSException
getNext(...)
call, the cursor moves to the next record in the database.actualGSAMPCBName
- The actual GSAM PCB name as defined in the PSBgsamRecord
- The GSAMRecord
object that will be
filled with the GSAM database record data. It is
an output parameter.IMSException
- public boolean getNext(java.lang.String actualGSAMPCBName, GSAMRecord gsamRecord, RSA rsa) throws IMSException
getNext(...)
call, the cursor moves to the next record in the database.actualGSAMPCBName
- The actual GSAM PCB name as defined in the PSBgsamRecord
- The GSAMRecord
object that will be
filled with the GSAM database record data. It is
an output parameter.rsa
- The RSA
(Record Search Argument) object
that contains the address of the GSAM
database record returned with this call. It is an
output parameter.IMSException
- public void insert(java.lang.String actualGSAMPCBName, GSAMRecord gsamRecord) throws IMSException
actualGSAMPCBName
- The actual GSAM PCB name as defined in the PSBgsamRecord
- The GSAMRecord
object that contains
the GSAM database record data to be inserted.
It is an input parameter.IMSException
- public void insert(java.lang.String actualGSAMPCBName, GSAMRecord gsamRecord, RSA rsa) throws IMSException
actualGSAMPCBName
- The actual GSAM PCB name as defined in the PSBgsamRecord
- The GSAMRecord
object that contains
the GSAM database record data to be inserted.
It is an input parameter.rsa
- The RSA
(Record Search Argument) object
that contains the address of a unique GSAM
database record.IMSException
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |