Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: XMXLIST

Package: MailMan

Routine: XMXLIST


Information

XMXLIST ;ISC-SF/GMB-List message: multiple conditions ;03/01/2001 09:40

Source Information

Source file <XMXLIST.m>

Entry Points

Name Comments DBIA/ICR reference
LISTMSGS(XMDUZ,XMK,XMFLDS,XMFLAGS,XMAMT,XMSTART,XMF,XMTROOT) ;
; XMDUZ is the user doing the search
; XMK is the place to look
; =number - Look in this basket of the mailbox of XMDUZ
; =* - Look in all baskets of the mailbox of XMDUZ
; =! - Look in the MESSAGE file for all messages
; that XMDUZ sent or received. If XMFLAGS["U"
; and the user (DUZ) holds the XM SUPER SEARCH
; key, ALL messages are examined,
; regardless of ownership.
; XMFLDS is a list, separated by ';', of fields to retrieve.
; e.g. XMFLDS="SUBJ;DATE" means retrieve subject and date.
; "BSKT" = basket (default: <basket ien>^<basket name>)
; optionally followed by ":" and
; "I" for basket IEN only (no 2nd piece)
; "X" adds basket name xref
; (If XMK="!", and msg is not in user's mailbox, will be:
; "0^* N/A *")
; "DATE" = date sent (default: <internal date>^<dd mmm yy hh:mm>)
; optionally followed by ":" and
; "I" for internal date only (no 2nd piece)
; "F" for FileMan date as the 2nd piece
; "X" adds FileMan date xref
; "FROM" = message from (default: <internal from>^<external from>)
; optionally followed by ":" and
; "I" for internal from only (no 2nd piece)
; "X" adds external from xref
; "LINE" = number of lines in the message
; "NEW" = is the msg new? (0=no; 1=yes; 2=yes, and priority, too)
; "PRI" = is the message priority? (0=no; 1=yes)
; "READ" = how much of the message has the user read?
; null = has not read the message at all
; 0 = has read the message, but no responses
; number = has read through this response
; "RESP" = how many responses does the message have?
; 0 = none
; number = this many
; "SEQN" = sequence number in basket (If XMK="!", and msg is not
; in user's mailbox, will not be returned at all.)
; "SUBJ" = message subject (always external)
; optionally followed by ":" and
; "X" adds subject xref
; XMFLAGS are used to control processing
; =B Backwards order (Default is traverse forward)
; =U Ignore the file screen on file 3.9 so that all
; messages can be examined. (valid only if user holds
; XM SUPER SEARCH key and XMK="!")
; If XMK="!", the following flags are ignored:
; =C Use basket C-xref (Default is message IEN)
; =N New messages only (C flag ignored)
; =P New Priority messages only (C, N flags ignored)
; XMAMT How many?
; =number - Get this many
; =* - Get all (default)
; XMSTART is used to start the lister going. The lister will keep it
; updated from call to call. (If XMK="!", FileMan handles XMSTART,
; and you should look at FM documentation for an explanation.)
; XMSTART("XMK") Start with this basket IEN (valid only if XMK="*")
; Continues from there, with each successive call,
; to the end.
; (Default is to start with basket .5, the WASTE basket)
; XMSTART("XMZ") Start AFTER this message IEN (valid only if no C flag)
; Continues from there, with each successive call,
; to the end.
; (Default is to start at the beginning (or end) of the
; basket)
; XMSTART("XMKZ") Start AFTER this message C-xref (valid only if C flag)
; Continues from there, with each successive call,
; to the end.
; (Default is to start at the beginning (or end) of the
; basket)
; XMF contains conditions which are 'and'ed together to select only
; those messages which meet the conditions.
; XMF("FROM") Message is from this person
; XMF("FDATE") Message was sent on or after this date
; (If XMK="!", make sure this doesn't conflict w/XMF("PD"))
; XMF("FLINE") Message has this many or more lines
; XMF("PD") Message was sent in this period (FM equiv. of yyy/yyymm)
; (default is current month) (valid only if XMK="!")
; XMF("RFROM") Message has a response from this person
; XMF("SUBJ") Subject contains this string
; XMF("SUBJ","C") =0 - Search is not case-sensitive (default)
; =1 - Search is case-sensitive
; XMF("TDATE") Message was sent on or before this date
; (If XMK="!", make sure this doesn't conflict w/XMF("PD"))
; XMF("TEXT") Message contains this string
; XMF("TEXT","L") =1 - Look in message only (default)
; =2 - Look in both message and responses
; =3 - Look in responses only
; XMF("TEXT","C") =0 - Search is not case-sensitive (default)
; =1 - Search is case-sensitive
; XMF("TLINE") Message has this many or fewer lines
; XMF("TO") Message is to this person
; XMTROOT is the target root to receive the message list.
; (default is ^TMP("XMLIST",$J))
INIT(XMFLDS,XMFLAGS,XMAMT,XMORDER,XMF,XMTROOT) ;
ALLMSGS(XMDUZ,XMFLAGS,XMORDER,XMFLDS,XMAMT,XMSTART,XMF,XMTROOT) ; Look in the entire MESSAGE file.

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^XMB(3.9 - [#3.9] LIST^DIC
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call