!----------------------------------------------------------------------- ! SMAIL.CTL - RSTS Smart Mailer Version 1.0 Build Control File ! ! Copyright (c) 1983 Digital Equipment Corporation, Maynard Mass. ! ! ! The following are required to BUILD the Smart Mailer software: ! ! 1. 1500 blocks of disk storage ! ! 2. The following CUSPs, in the same library device ! and account: ! ! UTILTY ! PIP ! ATPK ! RMSDEF ! RMSIFL ! ! ! 3. The RT11 and RSX runtime systems are available. ! ! 4. You must be logged into a privileged account. ! ! 5. You must not be in DCL. ! ! ! The following are required to RUN the Smart Mailer software: ! ! 1. The RSX directives must be included in the ! Monitor. ! ! 2. ECHO control must be gen'd into the Monitor. ! ! 3. SWAP MAX must be set to 31K. ! ! 4. CCL's for the following programs: ! ! PIP ! ATPK ! RMSDEF ! RMSIFL ! !------------------------------------------------------------------------ $PROMPT PATCH $PROMPT Locate Smart Mailer tasks on ,~SYSTEM:,301,~SYSTEM:,SMPKG $PROMPT Library load device ,SY:[0_,1],45,SY:[0_,1],LIBLOD !----- Make sure the Runtime systems are added. !----- Ignore the warning message "?Name or account now exists - in ADD" $ALLOW FATAL ERRORS RUN ~RUNLIB:UTILTY ADD RSX ADD RT11 EXIT !----- Make sure the RMS Resident libraries are added. !----- This only applies to version 8.0, therefore users of earlier RSTS ! systems should press RETURN to the next question and ignore the ! resultant warning messages - "?Can't find file or account", or ! "?Illegal verb", or "?What". $ALLOW FATAL ERRORS RUN ~RUNLIB:RMSACF ~LIBLOD: !----- Transfer regular Smart Mailer files into the proper account. $ALLOW WARNING ERRORS RUN ~RUNLIB:PIP.SAV ~SMPKG:*.*<60>=~INPUT:SCREEN.0 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.1 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.2 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.3 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.4 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.5 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.6 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.7 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.8 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.9 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.10 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.11 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.12 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.13 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.14 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.15 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.16 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.17 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.18 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.19 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.20 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H0A /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H0B /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H0C /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H1 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H3 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H4 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H5 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H6 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H7A /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H7B /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H10 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H11 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H12 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H13 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H14 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H15 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H16 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H17 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H18 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H19 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.DM1 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.DM2 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.21 /NOWA ~SMPKG:*.*<60>=~INPUT:SCREEN.H21 /NOWA ~SMPKG:*.*<232>/RTS:RSX=~INPUT:SMAIL.TSK /NOWA ^Z !----- Transfer Smart Mailer utility files from distribution kit. RUN ~RUNLIB:PIP.SAV ~SMPKG:*.*<124>/RTS:RSX=~INPUT:SMAILU.TSK/RW:NO /NOWA ~SMPKG:*.*<124>/RTS:RSX=~INPUT:M11HDR.TSK /NOWA ^Z !----- Transfer Smart Mailer demo files from distribution kit. RUN ~RUNLIB:PIP.SAV ~SMPKG:*.*<124>/RTS:RSX=~INPUT:M11LOD.TSK/RW:NO /NOWA ^Z !----- Auto-patch procedure for Smart Mailer $DOPAT @~PATLOC:SMAIL.V01 ! No patches found or patching not selected $BREAK !----- Make sure that you add the following to your ! start-up control file. The Smart Mailer Utility ! uses the CCL's ATPK, DEF, IFL and PIP. ! If you already have CCL's in place, ignore any ! warning message: "?account or device in use - in CCL". $ALLOW FATAL ERRORS RUN ~RUNLIB:UTILTY CCL SMAIL= CCL SMAIL=~SMPKG:SMAIL.TSK CCL ATPK=~RUNLIB:ATPK.BAC;PRIV 30000 CCL DEF=~RUNLIB:RMSDEF.TSK;0 CCL IFL=~RUNLIB:RMSIFL.TSK;0 CCL PIP=~RUNLIB:PIP.SAV;8208 EXIT !----- Create the Master Screen File RUN ~RUNLIB:PIP.SAV ~SMPKG:SMMSF.DAT<60>=KB: ~SMPKG:SCREEN.0 ~SMPKG:SCREEN.1 ~SMPKG:SCREEN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WA ~SMPKG:SCREEN.9/DE/NOWA ~SMPKG:SCREEN.10/DE/NOWA ~SMPKG:SCREEN.11/DE/NOWA ~SMPKG:SCREEN.12/DE/NOWA ~SMPKG:SCREEN.13/DE/NOWA ~SMPKG:SCREEN.14/DE/NOWA ~SMPKG:SCREEN.15/DE/NOWA ~SMPKG:SCREEN.16/DE/NOWA ~SMPKG:SCREEN.17/DE/NOWA ~SMPKG:SCREEN.18/DE/NOWA ~SMPKG:SCREEN.19/DE/NOWA ~SMPKG:SCREEN.20/DE/NOWA ~SMPKG:SCREEN.H0A/DE/NOWA ~SMPKG:SCREEN.H0B/DE/NOWA ~SMPKG:SCREEN.H0C/DE/NOWA ~SMPKG:SCREEN.H1/DE/NOWA ~SMPKG:SCREEN.H3/DE/NOWA ~SMPKG:SCREEN.H4/DE/NOWA ~SMPKG:SCREEN.H5/DE/NOWA ~SMPKG:SCREEN.H6/DE/NOWA ~SMPKG:SCREEN.H7A/DE/NOWA ~SMPKG:SCREEN.H7B/DE/NOWA ~SMPKG:SCREEN.H10/DE/NOWA ~SMPKG:SCREEN.H11/DE/NOWA ~SMPKG:SCREEN.H12/DE/NOWA ~SMPKG:SCREEN.H13/DE/NOWA ~SMPKG:SCREEN.H14/DE/NOWA ~SMPKG:SCREEN.H15/DE/NOWA ~SMPKG:SCREEN.H16/DE/NOWA ~SMPKG:SCREEN.H17/DE/NOWA ~SMPKG:SCREEN.H18/DE/NOWA ~SMPKG:SCREEN.H19/DE/NOWA ~SMPKG:SCREEN.DM1/DE/NOWA ~SMPKG:SCREEN.DM2/DE/NOWA ~SMPKG:SCREEN.21 /DE/NOWA ~SMPKG:SCREEN.H21/DE/NOWA ^Z ^Z !----- Create the initial default System Parameter File ! (Any existing file will be copied to SMPAR.OLD ! before recreating the new parameter file.) ! So, ignore "?Can't find file or account" warning ! message if this is a first installation. $ALLOW FATAL ERRORS RUN ~RUNLIB:PIP.SAV ~SMPKG:SMPAR.OLD=~SMPKG:SMPAR.DAT ^Z $ALLOW WARNING ERRORS RUN ~RUNLIB:PIP.SAV ~SMPKG:SMPAR.DAT<32>=KB: ~SMPKG:SMDEMO.MLF ! Default Mailing List File 100 ! Size of a new Mailing List File (blocks) ~SMPKG:SMSCR.DAT ! System Screen File SY: ! Location for sort work files N ! Test print sample labels? ! Extra information on labels? ! Default label message ! Increment or reset counters 0 ! Increment/reset counters to 1 ! Number of copies of labels 2 ! Labels across page 0 ! Left margin 30 ! Characters per address line 33 ! Horizontal distance 7 ! Address lines per label 9 ! Vertical distance (lines) LP:, Q, 132, F, Main printer ! Printing Device 1 NL: ! Printing Device 2 NL: ! Printing Device 3 NL: ! Printing Device 4 NL: ! Printing Device 5 ^Z ^Z !----- Perform the initialization procedure ! Create the System Screen File ! Modify the System Parameter File !----> NOTE: You should run the Smart Mailer utility yourself ! to customize the System Parameter File. RUN ~SMPKG:SMAILU S END !----- Creation of a Smart Mailer demo Mailing List File ! ! NOTE: Any existing demo data file will be deleted. ! Therefore, if this is a first installation, please ! ignore a "?Can't find file or account" warning message. $ALLOW FATAL ERRORS RUN ~RUNLIB:PIP.SAV ~SMPKG:SMDEMO.MLF/DE/NOWA ^Z $ALLOW WARNING ERRORS RUN ~SMPKG:SMAILU C ~SMPKG:SMDEMO.MLF 100 Y 1 Y 6 4 Y Y Y Occupation A Salary A Recve Date D undefined A undefined A undefined A END RUN ~SMPKG:M11LOD ~SMPKG:SMDEMO.MLF 1 10 !----- Cleanup the account $PROMPT Do you wish to delete all unnecessary installation files,Yes,8256,,DEL 5 YES= YE= Y= NO=$PROMPT ! do not execute N=$PROMPT ! do not execute ~DEL:RUN ~RUNLIB:PIP.SAV ~DEL:@~SMPKG:SMDEL.CMD ~DEL:^Z !----- The Smart Mailer Installation is now complete. ! Please run the installation verification procedure ! listed in the Smart Mailer System Manager's Guide. !----- Please use the Smart Mailer Utility (RUN ~SMPKG:SMAILU) to ! customize the System Parameter File further, and to create ! Mailing List Files (see the System Manager's Guide).