public interface GSAMPCB
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the connection to a GSAM dataset.
|
AIB |
getAIB()
Retrieves the application interface block (
AIB) object for
the GSAM PCB. |
Path |
getNext()
Retrieves a record in a GSAM database using sequential access.
|
Path |
getPathForInsert()
Retrieves a
Path that contains the GSAM record used for an
insert operation. |
Path |
getUnique(RSA recordSearchArg)
Retrieves a record in a GSAM database using random access.
|
RSA |
insert(Path gsamRecord)
Inserts a new record into a GSAM database.
|
void |
open()
Opens a connection to a GSAM dataset.
|
void open()
void close()
DLIException - if an error occurs while closing the GSAM dataset.Path getUnique(RSA recordSearchArg) throws DLIException
recordSearchArg - the record search argument (RSA) object that
contains the address of a unique GSAM database record.Path object that contains the GSAM database record
data or null if no records are foundDLIException - if a GSAM database error occurs.Path getNext() throws DLIException
getNext, the cursor moves to the next record in the
database.Path object that contains the GSAM database
record data or null if no records are foundDLIException - if a GSAM database error occurs.RSA insert(Path gsamRecord) throws DLIException
gsamRecord - the Path object that contains the GSAM database
record data to be inserted.DLIException - if a GSAM database error occurs.AIB getAIB()
AIB) object for
the GSAM PCB.Path getPathForInsert()
Path that contains the GSAM record used for an
insert operation. Use this method together with the
insert(Path) method to insert new records in the GSAM
database.
Path object that contains the GSAM database record
specified as inputinsert(Path)(c) Copyright IBM Corporation 2008, 2017.