If you have MPEX you could do the following command. LISTF filename.group.acct,1 This will give you a count on the files it finds. You can also be more specific, such as: LISTF filename.group.acct(code="nmprg"),1 Look on page 155 of the MPEX manual. Good Luck!