Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mccrohan@salthl.enet.dec.com ()
Subject: Re: Requeueing jobs in VMS
Date: Wed, 16 Sep 1992 15:03:39 GMT	[thread overview]
Message-ID: <1992Sep16.150339.5083@ryn.mro4.dec.com> (raw)
In-Reply-To: 00960A92.52366D40@vms.csd.mu.edu


From the VMS HELP:
(general command is    $SET ENTRY entry#/QUALIFIER1/QUALIFIER2/ETC   QuenamSET

  ENTRY

    /AFTER

          /AFTER=time
          /NOAFTER

       Requests that the specified job be held until after a specific
       time. If the specified time has already passed, the job is queued
       for immediate processing.

       You can specify either an absolute time or a combination of
       absolute and delta times. For complete information on specifying
       time values, see the VMS DCL Concepts Manual.
    
Esample:	$SET ENTRY 212/AFTER=TOMORROW
		$SET ENTRY 212/AFTER=AFTER=20:00

SET

  ENTRY

    /HOLD

          /HOLD
          /NOHOLD

       Controls whether the job is to be made available for immediate
       processing or held for processing later. If you specify the /HOLD
       qualifier, the job is not released for processing until you enter
       SET ENTRY/NOHOLD or SET ENTRY/RELEASE. You can use the SET ENTRY
       command to release a job that was submitted previously with a
       /HOLD qualifier, or you can place a job on hold so that it will
       run later.

       You can use the /NOHOLD qualifier to release jobs that have been
       held for the following reasons:

       o  A job was submitted with the /HOLD qualifier.

       o  A completed job is being held in a queue that has the /RETAIN
          qualifier specified.

       o  A user-written symbiont has refused a job.

SET

  ENTRY

    /REQUEUE

          /REQUEUE=queue-name[:]

       Requests that the job be moved from the original queue to the
       specified queue.


...and many more.......

Additionally, using the SYNCHRONIZE command allows a batch job to be 
synchronized with some other event.

SYNCHRONIZE

     Holds the process issuing the command until the specified job
     completes execution.

     Format

       SYNCHRONIZE  [job-name]



  Additional information available:

  PARAMETER  QUALIFIERS
  /ENTRY     /QUEUE
  EXAMPLES
 SYNCHRONIZE

  EXAMPLES


       1.  $ SUBMIT/NAME=PREP FORMAT/PARAMETERS=(SORT,PURGE)
             Job PREP (queue SYS$BATCH, entry 219) started on queue SYS$BATCH
           $ SUBMIT PHASER
             Job PHASER (queue SYS$BATCH, entry 223) started on queue SYS$BATCH

         In this example, the first SUBMIT command submits the command
         procedure FORMAT.COM for execution and names the job PREP.
         The second SUBMIT command queues the procedure PHASER.COM. The
         procedure PHASER.COM contains the following line:

             $ SYNCHRONIZE PREP

         When this line is processed, the system verifies whether the
         job named PREP exists. The procedure PHASER is forced to wait
         until the job PREP completes execution.

       2.  $ SUBMIT/NAME=TIMER       COMP.COM
             Job TIMER (queue SYS$BATCH, entry 214) started on queue SYS$BATCH
           $ SYNCHRONIZE /ENTRY=214

         In this example, a batch job named TIMER is submitted. Then
         the SYNCHRONIZE command is entered interactively. This command
         places the interactive process in a wait state until entry
         number 214 (TIMER) completes. You cannot enter subsequent
         commands from your terminal session until the SYNCHRONIZE
         command completes and your process is released from the wait
         state.

S


Hope this helps...


Mike


   
   


      reply	other threads:[~1992-09-16 15:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-09-15 20:17 Requeueing jobs in VMS 6241weaverd
1992-09-16 15:03 ` mccrohan [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox