I sometimes find that DFU is helpful when working with test data. If the file I want to modify is indexed and I know the key value, it is easy to retrieve the record for updating. With nonindexed files, however, DFU requires the record's relative record number to retrieve the record for updating.
The solution is to use the Display Physical File Member (DSPPFM) command to determine a record's relative record number. Here's how it works.
Use DSPPFM to display the file you're working with. Search for the record you want to modify with some kind of search criteria, such as a character string, a number, or even a hexadecimal value. When the record has been found, a message will appear at the bottom of the screen showing the relative record number. Use that number to retrieve the record with DFU.
-Eugene Knight
LATEST COMMENTS
MC Press Online