Fields of a recfile can, of course, be edited manually using an editor and this is often
the easiest way when only a few fields need to be changed or when the nature of the changes do
not follow any particular pattern.
If, however, a large number of similar changes to several records are
recset command can make the job easier.
The formal description of
recset is presented later
(see Invoking recset). In this chapter some typical usage
examples are discussed. As with
used erroneously has the potential to make very pervasive changes,
which could result in a large loss of data. It is prudent therefore
to take a copy of a recfile before running such commands.
|• Adding Fields:||Adding new fields to records.|
|• Setting Fields:||Editing field values.|
|• Deleting Fields:||Removing or commenting-out fields.|
|• Renaming Fields:||Changing the name of a field.|