The List Database File Members API (QUSLMBR) is no different in style than the list APIs discussed in chapter 3. For this reason, there will not be any lengthy discussion of how to process the list. If you need a refresher, review chapter 3.
The parameters for QUSLMBR are shown in Table 7.2. The QSYSINC-provided ILE RPG definition for format MBRL0100, Member Names, is in Figure 7.3. Figure 7.4 shows a program which simply DSPLYs the member names found in the source file QRPGLESRC. Figure 7.5 then incorporates the use of QUSLMBR in the sample program FIG4_2, which reorganizes any file members that contain deleted records beyond a certain percentage.