Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: XVIRPOST

XVIRPOST.m

Go to the documentation of this file.
  1. XVIRPOST ;SF/RWF - Post init for virgin install ;03/11/99 13:36
  1. ;;8.0;KERNEL - VIRGIN INSTALL;**112**;Apr 14, 1995
  1. A W !,"Post init for virgin install"
  1. S DUZ=0,DUZ(0)="@" D NOW^%DTC S DT=X
  1. I $D(^VA(200,.5,0))[0 D POST
  1. I $O(^VA(200,.9))'>0 D F200
  1. I $O(^DIC(4.2,0))'>0 D DOMAIN
  1. I $O(^DIC(4,0))'>0 D INST
  1. I $O(^DIC(49,0))'>0 D SERV
  1. Q
  1. DOMAIN W !,"We are adding DOMAIN.EXT to the domain file."
  1. S DIC=4.2,DLAYGO=4,X="DOMAIN.EXT",DIC(0)="LM" D ^DIC
  1. W !,"Now you need to enter the NETWORK MailMan domain name for this"
  1. W !,"system to use both on the network and for the name of the"
  1. W !,"Kernel site parameter entry."
  1. W !,"Use the format 'xxx.DOMAIN.EXT' in the VA."
  1. S DIC=4.2,DLAYGO=4,DIC(0)="AEMQL" D ^DIC I '$P(Y,U,3) W !,"You must enter the name of your local network mail node ",!,"so you may enter your KERNEL SITE PARAMITERS." G DOMAIN
  1. S ^XTV(8989.3,1,0)=+Y,^XMB(1,1,0)=+Y
  1. S DIK="^XTV(8989.3," D IXALL^DIK S DIK="^XMB(1," D IXALL^DIK
  1. K DIC Q
  1. ;
  1. INST W !!,"Now lets add your Institution."
  1. S DIC=4,DLAYGO=4,DIC(0)="AEMQL" D ^DIC I Y'>0 W !,"You will need an entry in this file." G INST
  1. K DIC Q
  1. ;
  1. SERV W !!,"Now to add 'IRM' to the service/section file."
  1. S DIC=49,DLAYGO=49,DIC(0)="MQL",X="IRM" D ^DIC
  1. K DIC Q
  1. ;
  1. F200 W !!,"Now to add yourself to the NEW PERSON file."
  1. F XV1=200 S DIK=$G(^DIC(XV1,0,"GL")),X=@(DIK_"0)"),$P(^(0),"^",3)=$P(X,"^",3)\1
  1. S DIC=200,DIC(0)="AEMQL",DLAYGO=200 D ^DIC
  1. K DIK,DIC,XV2 Q
  1. ;
  1. POST ;Add postmaster
  1. S ^VA(200,.5,0)="POSTMASTER"
  1. F XV1=200 S DA=.5,DIK=$G(^DIC(XV1,0,"GL")),DIK(1)=.01 D EN1^DIK
  1. F XV1=200 I $D(^DIC(XV1,0)) S DIK=$G(^DIC(XV1,0,"GL")),X=@(DIK_"0)"),$P(^(0),"^",3)=$P(X,"^",3)\1
  1. K DIK,DIC,DA,XV1 Q