Writing records
Writing records is also known as
adding records
.
This topic describes writing records that have not previously been written. Writing records that already exist is not permitted unless they have been previously been put into 'update' mode. See Updating records for more information.
Before writing a record you must use registerRecordIndex method of IccFile to associate an object of class IccKey , IccRBA , or IccRRN with the file. The writeRecord method of IccFile class writes the record.
A write operation uses two classes – IccFile to perform the operation and one of IccKey , IccRBA , and IccRRN to identify the particular record, depending on whether the file access type is KSDS, ESDS, or RRDS.
If you have more than one record to write, you can improve the speed of writing by using mass insertion of data. You begin and end this mass insertion by calling the beginInsert and endInsert methods of IccFile.