gtpc1m54Transmission Control Protocol/Internet Protocol

Recoup Considerations for the Mail Database

Before you run recoup for the TPF Internet mail server database, ensure the mail server recoup descriptor is defined correctly, and loaded on the TPF subsystem in which you plan to run the TPF Internet mail servers. Do not load the mail server recoup descriptor to subsystems in which the TPF Internet mail servers will not run.

The mail server recoup descriptor must contain a GROUP and INDEX macro pair for each #MAILxx record that you define. Segment BKD1 is initially shipped with the macro statements needed for a mail domain associated with a #MAIL01 fixed file record type, as follows:

         SYSEQC
         DC    AL2(3)     NUMBER OF PRIMARY GROUPS IN THIS CONTAINER
         DC    S(IAQ,IDQ,IMAI)  PRIME GROUPS

  ·
  ·
  ·
IMAI GROUP MAC=IMAIL,ID=FC55,ECB=10,MET=(SEQ,0),NBR=1,TYP=#MAIL01, X TIME=900,USE=BASE,VER=0,GRP=FC50,IDCOMP=(FC66,0), X ENT=INDON55,EXT=INDOFF55 INDEX TYP=V,FI=IMAIL_LVL1_ENTY,FA=IMAIL_LVL1_ENTY+4, X LI=L'IMAIL_LVL1_ENTY,CNT=(N,500),ALTID=IMAI_ALT

If you define additional #MAILxx fixed file record types (such as, #MAIL02, #MAIL03, and so on) or want to use a record type value other than #MAIL01, you must update segment BKD1. For example, if you want one mail domain and define the fixed file record type for that mail domain as #MAILAB instead of #MAIL01, update the value specified for the TYP parameter in the GROUP macro statement to #MAILAB, as follows:

         SYSEQC
         DC    AL2(3)     NUMBER OF PRIMARY GROUPS IN THIS CONTAINER
         DC    S(IAQ,IDQ,IMAI)  PRIME GROUPS

  ·
  ·
  ·
IMAI GROUP MAC=IMAIL,ID=FC55,ECB=10,MET=(SEQ,0),NBR=1,TYP=#MAILAB, X TIME=900,USE=BASE,VER=0,GRP=FC50,IDCOMP=(FC66,0), X ENT=INDON55,EXT=INDOFF55 INDEX TYP=V,FI=IMAIL_LVL1_ENTY,FA=IMAIL_LVL1_ENTY+4, X LI=L'IMAIL_LVL1_ENTY,CNT=(N,500),ALTID=IMAI_ALT

If you define more than one mail domain, you must add additional GROUP and INDEX macro statements to BKD1. For example, if you want two mail domains and define fixed file record types #MAIL01 and #MAIL02, update BKD1 as follows:

         SYSEQC
         DC    AL2(4)     NUMBER OF PRIMARY GROUPS IN THIS CONTAINER
         DC    S(IAQ,IDQ,IMAI,IMAJ)  PRIME GROUPS

  ·
  ·
  ·
IMAI GROUP MAC=IMAIL,ID=FC55,ECB=10,MET=(SEQ,0),NBR=1,TYP=#MAIL01, X TIME=900,USE=BASE,VER=0,GRP=FC50,IDCOMP=(FC66,0), X ENT=INDON55,EXT=INDOFF55 INDEX TYP=V,FI=IMAIL_LVL1_ENTY,FA=IMAIL_LVL1_ENTY+4, X LI=L'IMAIL_LVL1_ENTY,CNT=(N,500),ALTID=IMAI_ALT IMAJ GROUP MAC=IMAIL,ID=FC55,ECB=10,MET=(SEQ,0),NBR=1,TYP=#MAIL02, X TIME=900,USE=BASE,VER=1,GRP=FC50,IDCOMP=(FC66,0), X ENT=INDON55,EXT=INDOFF55 INDEX TYP=V,FI=IMAIL_LVL1_ENTY,FA=IMAIL_LVL1_ENTY+4, X LI=L'IMAIL_LVL1_ENTY,CNT=(N,500),ALTID=IMAI_ALT

See TPF Database Reference for more information about recoup. See TPF System Macros for more information about the GROUP and INDEX macros.