Re: Code to delete file contents in RPGLE?
Subfiles aren't keyed files - you can use SETLL to get to a record by specifying a record # - but not by key. You will have to keep track of record #'s separately or cycle through the record until you find the record you're looking for.
Subfiles aren't keyed files - you can use SETLL to get to a record by specifying a record # - but not by key. You will have to keep track of record #'s separately or cycle through the record until you find the record you're looking for.





Comment