============================ BATCH/PRINT Components o Job Controller JOBCTL.EXE o Print Symbiont PRTSMB.EXE, SMBSRVSHR.EXE o Input Symbiont INPSMB.EXE ============================ BATCH/PRINT Components o $SET/SHOW/INIT/START/STOP QUEMAN.EXE o $SUBMIT SUBMIT.EXE ============================ BATCH/PRINT Components o Batch/Print Job Queue File JBCSYSQUE.DAT o Job Accounting File ACCOUNTNG.DAT ============================ BATCH/PRINT Communication o System Services o Mailboxes o Distributed Queue File o VMS Lock Manager Locks ============================ BATCH/PRINT Queue File o Shared across VAXcluster o RMS structure - Sequential organization - Fixed, 512 byte records ============================ o RMS access attributes - Multi-buffered (/BUFFER_COUNT) - Automatically extended (/EXTEND) - Read/Write access - Random access by RRN - User-provided interlock ============================ o Queue File Validation - Cold start validation done by 1st active job controller - Warm start validation otherwise ============================ o Queue file header o Linked lists of entries for - Queues - Jobs within queues - Files within jobs ============================ - Characteristics - Forms - Pending operations & messages - Free records ============================ Queue Types o Execution (node specific) - Batch - Output Printer Terminal Server ============================ o Generic - Batch - Output o Logical (V3 compatibility) ============================ Job Controller Locks o Queue file transaction lock o Queue file entry locks o "Doorbell" locks Use blocking ASTs to "signal" other job controllers within a cluster ============================ BATCH/PRINT System Services o $SNDJBC(W) - Replaces $SNDACC & $SNDSMB - Old services supported o $GETQUI(W) New for V4.2 o Both used by DCL utilities ============================ GETQUI Functions o Display characteristic o Display form o Display queue o Display job o Display file o Cancel operation ============================ GETQUI Item Lists o Output Values o Input Values - Search name - Search number - Search flags ============================ GETQUI Search Flags o ALL_JOBS o BATCH o SYMBIONT o THIS_JOB o WILDCARD ============================ GETQUI Objects o A search context kept for objects - QUEUE JOB FILE - CHARACTERISTIC - FORM ============================ o GETQUI search context - supports flexible batch/print inquiries - points to entries in queue file - reflects the hierarchy of the queue file - protected by queue file entry locks ============================ GETQUI Example o "SHOW QUEUE/ALL" o Initial conditions - SEARCH_NAME = "*" - SEARCH_FLAGS = "ALL_JOBS" ============================ FOR all QUEUEs GETQUI ("DISPLAY_QUEUE") FOR all JOBs within QUEUE GETQUI ("DISPLAY_JOB") FOR all FILEs within JOB GETQUI ("DISPLAY_FILE"" ============================ Misc BATCH/PRINT Issues o SCSNODE o Batch job scheduling o User-modified/-written symbionts o JOBCTL abort/restart o JOBCTL.DMP, PRTSMB.DMP ============================ o Execution & queue priorities - INIT/QUEUE/BASE_PRIORITY (1-15) DEFPRI - SUBMIT/PRIORITY (0-255) DEFQUEPRI MAXQUEPRI ============================