If you use the ODBC option for subscribers then you can query subscriber lists directly.using SQL ----- Original Message ----- From: "Roger Fajman" <[log in to unmask]> To: <[log in to unmask]> Sent: Sunday, May 06, 2001 7:30 PM Subject: Re: Utilizing lcmd > > I have some PERL scripts that generate Listserv reports. These scripts run > > directly on our Listserv, which is a system that runs Tru64 Unix as its > > OS. These scripts currently use the listview utility to gather information > > about the lists on our server. What I want to do is find a better way to > > generate some of the information I want. For example, given a particular > > list, I want to figure out the number of subscribers to that list and to > > do that, I am hoping I can code something like the following statement in > > PERL: > > > > lcmd query listname for *@* | grep -c "\@" > > > > The trouble is that the lcmd utility doesn't appear to do anything. When I > > log in, gain root access or log in as listserv and type "lcmd" at the Unix > > prompt, all I get is a Unix prompt back. Nothing appears in Listserv's > > logfile either. > > > > How can I get this to work, or is there a better alternative to lcmd > > that I should look at? > > LCMD puts a command in LISTSERV's queue and the result is emailed back > to the userid that LCMD ran under. You probably want the LCMDX command > that's described in the LISTSERV Developer's Guide.