Advanced Listserv – Index

Advanced Listserv – Index

The index command returns a list of files available from the list server for a given mailing list:

index <listname>

This command will return a listing like the following:

* Archive files for the AH511 list at LISTSERV.UIC.EDU(monthly logs) * rec last - change * filename filetype GET PUT -fm lrecl nrecs date time * -------- -------- --- --- --- ----- ----- -------- -------- AH511 LOG9802 LOG OWN V 79 73 98/02/27 23:41:20 AH511 LOG9803 LOG OWN V 82 210 98/03/17 10:21:41 AH511 LOG9804 LOG OWN V 73 36 98/04/18 07:48:55 AH511 LOG9805 LOG OWN V 76 298 98/05/26 13:58:49

To get a listing of files available from the list server itself send an index command without a specific listname specified.

index

This will return a listing like the following:

* filename filetype GET PUT -fm lrecl nrecs date time * -------- -------- --- --- --- ----- ----- ---------- -------- LISTDB MEMO ALL N/A V 74 739 1997-06-23 17:43:00 WWW_ARCHIVE MAILTPL ALL CTL V 110 37 1997-06-30 15:48:50 TRIO CATALOG PRV OWN V 49 7 1996-04-12 13:37:49 GRATEFULMED CATALOG ALL OWN V 54 6 1996-05-17 15:02:52 ONLINE CATALOG PRV OWN V 53 139 1997-11-21 09:49:59 THEORYNT CATALOG ALL OWN V 54 10 1996-05-24 15:35:25 KIDPROJ CATALOG ALL OWN V 53 206 1996-08-12 16:37:10 NEW-LIST CATALOG ALL OWN V 53 12 1996-05-29 15:00:56 NAT-JOURN CATALOG PRV OWN V 64 15 1998-05-29 12:33:15 PEERS NAMES ALL LMC V 108 1603 1998-05-26 21:08:06 BITEARN NODES N/A LMC V 239 1967 1998-06-04 09:56:03 LISTCAT FILE ALL LMC V 49 394 1997-01-21 18:46:38 LISTFILE MEMO ALL N/A V 72 606 1995-05-24 03:35:12

An index usually contains a listing with the following columns:

Column

Description

filename

Name of the list.

filetype

Name of the file available for the list.

get

Who may retrieve the file – see codes below.

put

Who can upload the file; same codes as for “get”.

rfm

File record format – “V” for variable length lines, “F” for fixed length lines.

lrecl

The longest line length.

nrecs

The number of lines.

date

The date the file was uploaded.

time

The time the file was uploaded.

description

A file description (optional).

The codes in the “Get” and “Put” columns mean the following:

Code

Description

ALL

Everybody

CTL

LISTSERV administrators

OWN

List owners

PRV

Private, ie list members

LMC

LISTSERV master coordinator

N/A

Not applicable – file is internally maintained by LISTSERV

MSC

Miscellaneous – contact administrator for more information

You can also use the get command to obtain a list’s index; in other words, the following commands are equivalent:

get <listname> filelist

index <listname>