.; .; QMGSTART for RSX-11M-Plus distribution kits .; .; .; This file is a prototype Queue Manager startup file distributed .; as part of an RSX-11M-Plus distribution. You should customize .; this file to meet the needs of your particular installation. .; .ENABLE SUBSTITUTION .ENABLE GLOBAL .; .; Set QUIET mode if requested .; .IFNDF $QUIET .SETF $QUIET .IFT $QUIET .ENABLE QUIET .; .; Stop the queue manager if already running .; .IFACT QMG... QUE /STOP:QMG .; .; Install the queue manager .; .IFINS QMG... .GOTO START .SETS FR "FSL" .TESTFILE LB:''QMGFSL.TSK .IF EQ 1 .GOTO 10 .SETS FR "RES" .TESTFILE LB:''QMGRES.TSK .IF EQ 1 .GOTO 10 .SETS FR "" .10: INS $QMG'FR'/PMD=YES/CKP=YES .START: .; .; Install the CLI task etc. .; .IFNINS ...QUE INS $QMGCLI .IFNINS ...PRI INS $QMGCLI/TASK=...PRI .IFNINS ...SUB INS $QMGCLI/TASK=...SUB .; .; Start the queue manager .; QUE /START:QMG .; .; Install the printer despooler and the SEND-REQUEST interface task .; .IFNINS LP0 INS $LPPFSL/TASK=LP0 .IFNINS LP0 INS $LPPRES/TASK=LP0 .IFNINS LP0 INS $LPP/TASK=LP0 .IFNINS PRT... INS $QMGPRT/TASK=PRT.../SLV=NO .; .; Install the batch processor .; .IFNINS BAP0 INS $BPR/TASK=BAP0 .; .; Setup the queues .; QUE LP0:/CR/NM .; .; Before starting batch, if this is a multi-user system, start accounting. .; .IFINS SYSLOG .IFNACT SYSLOG START/ACCOUNTING .; .; .; Initialize processors .; .20: .SETF LP0 CON ESTAT LP0: .IF EQ 120001 .SETT LP0 .IFT LP0 QUE LP0:/SP/FL:2/LOWER/FO:0 .IFINS BAP0 QUE BAP0:/BATCH .; .; The following delay is included to provide sufficient time for .; initialization of processors to complete before assignment of .; processors begins. If assignment follows initialization too quickly .; the spurious QMG error message "Bad queue name" will be issued. .; .ENABLE QUIET .DELAY 5S .IFF $QUIET .DISABLE QUIET .; .; Assign processors to queues .; .IFT LP0 QUE LP0:/AS:PRINT QUE FTSQUE:/CR/NM QUE FTSDEQ:/SP/EX QUE FTSDEQ:/AS:FTSQUE .IFINS BAP0 QUE BAP0:/AS:BATCH @LB:[1,2]QUETT6ON .; @LB:[1,2]QUETT7ON @LB:[1,2]QUETT10ON @LB:[1,2]QUELATON .; .; Done .;