Well, you already know the basic process of how to get the member list. You can use utility programs (SORT, SAS, Easytrieve, etc.) to read the list and perform the counting function. What else do you need?
Hello, If you want just to know the number of the all members, and you don't care about what it started, you can use this modified version of the script suggested previously
N=0 X=OUTTRAP(OUT.) ADDRESS TSO "LISTDS "DSNNAME" MEMBERS" X=OUTTRAP(OFF) DO J = 1TO OUT.0 IF J > 6THEN DO N = N+1 END END SAY 'THE PDS' DSNNAME 'HAS ' N 'MEMBERS '
do You really think that TS might be still interested after 10 years ? furthermore the solution posted does not satisfy the TS requirement - filter according to some name pattern matching
cheers enrico When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser, so that I am sure that the information requested can be reached with a very small effort