Library /sys$common/syshlp/helplib.hlb  —  PMDF  LIST Servers, Commands  DIRECTORY
    Obtain a directory listing of the available files.

    Syntax

      DIRECTORY  [file-spec]

1  –  Parameters

 file-spec

    Optional file name specification indicating which files to obtain
    a directory listing of. All OpenVMS file and directory wild cards
    are supported. A directory specification can be used; no device
    name or root directory specification is allowed.

2  –  Description

    The DIRECTORY command provides a directory listing of the
    available files. The listing is returned to you as a mail
    message.

    The file-spec parameter is optional and, if omitted, defaults
    to "*". If you are unsure of what to use, omit the parameter and
    send simply the command

    DIRECTORY

    This will provide you with a list of the files and directories
    in the top-level directory of the mail server. You can then
    this information to refine your queries; e.g., investigate the
    contents of an intriguing directory,

    DIRECTORY [GAMES...]

3  –  Error messages

  %MAILSERV-W-NOFILES, no files found

      The supplied file specification does not match any available
      files.

  %MAILSERV-F-NOFILESERV, file service is not enabled

      The mail server is not configured to operate as a file server.

  %MAILSERV-W-WRITEERR, file writing error

      An error occurred while the server was producing your directory
      listing. Try resending the command at a later time.

4    /LIST

    Obtain a listing of the available mailing lists.

    Syntax

      DIRECTORY/LIST  [list-spec]

4.1  –  Parameters

 list-spec

    Optional mailing list specification indicating which mailing
    lists to obtain a listing of. OpenVMS wild cards are supported.

4.2  –  Description

    The DIRECTORY command provides a listing of the available mailing
    lists.

    The list-spec parameter is optional and, if omitted, defaults to
    "*". Generally, there is no need to use this parameter unless you
    are interested in a specific mailing list. For instance, if you
    merely want to know if there is a mailing list about zeugmes, you
    might use the command

    DIRECTORY/LIST *ZEUGME*

    This will provide you with the names of any mailing lists which
    contain the phrase "zeugme" in them. Note that just because a
    mailing list is available does not necessarily mean that you can
    subscribe to it. The site might have established restrictions
    governing who can or cannot subscribe to some or all mailing
    lists.

4.3  –  Error messages

  %MAILSERV-W-NOLISTS, no lists found

      The supplied mailing list specification does not match any
      available mailing lists.

  %MAILSERV-F-NOMAILLIST, mailing lists are not enabled

      The mail server is not configured to operate as a list server.

  %MAILSERV-W-WRITEERR, file writing error

      An error occurred while the server was producing your listing
      of mailing lists. Try resending the command at a later time.
Close Help