Public methods
These are the public methods in this class.
The opt parameter
Many methods have the same parameter, opt, which is described under the abendCode method inabendCode.
- access
Returns a composite number indicating the access properties of the file. See also isReadable, isBrowsable, isAddable, isDeletable, and isUpdatable methods. - accessMethod
Returns an enumeration, defined in IccValue, that represents the access method for this file. - beginInsert (VSAM only)
Signals the start of a mass insertion of data into the file. - deleteLockedRecord
Deletes a record that has been previously locked by readRecord method in update mode. (See also readRecord method.) - deleteRecord
Deletes one or more records, as specified by the associated IccRecordIndex object, and returns the number of deleted records. - enableStatus
Returns an enumeration, defined in IccValue, that indicates whether the file is enabled to be used by programs. - endInsert (VSAM only)
Marks the end of a mass insertion operation. See beginInsert. - isAddable
Indicates whether more records can be added to the file. - isBrowsable
Indicates whether the file can be browsed. - isDeletable
Indicates whether the records in the file can be deleted. - isEmptyOnOpen
Returns a Boolean that indicates whether the EMPTYREQ option is specified. EMPTYREQ causes the object associated with this file to be set to empty when opened, if it is a VSAM data set defined as reusable. - isReadable
Indicates whether the file records can be read. - isRecoverable
- isUpdatable
Indicates whether the file can be updated. - keyLength
Returns the length of the search key. - keyPosition
Returns the position of the key field in each record relative to the beginning of the record. If there is no key, zero is returned. - openStatus
Returns a CVDA that indicates the open status of the file. Possible values are: - readRecord
Reads a record and returns a reference to an IccBuf object that contains the data from the record. - recordFormat
Returns a CVDA that indicates the format of the data. Possible values are: - recordIndex
Returns a pointer to an IccRecordIndex object that indicates which records are to be accessed when using methods such as readRecord, writeRecord, and deleteRecord. - recordLength
Returns the length of the current record. - registerRecordIndex
- rewriteRecord
Updates a record with the contents of buffer. - setAccess
Sets the permitted access to the file. - setEmptyOnOpen
- setStatus
Sets the status of the file. - type
Returns a CVDA that identifies the type of data set that corresponds to this file. Possible values are: - unlockRecord
Unlock a record, previously locked by reading it in update mode. See readRecord. - writeRecord
Write either a single record or a sequence of records, if used with the beginInsert and endInsert methods.
dfhalf6.html |
Last updated: Monday, 5 June 2017