HP OpenVMS Systems

ask the wizard
Content starts here

Basics of DCL programming: a loop?

» close window

The Question is:

Sorry for such a dumb question.
How can I "loop" the show queue/full/all/by_job_status=executing  command
so I don't have to keep hitting reenter?
thank you Mr.  Wizzard time for this turtle to go home

The Answer is :

  Though the simplest answer is:
$ show queue/full/all/by_job_status=executing
$ wait 00:00:05
$ goto loop
  The OpenVMS Wizard would recommend learning to use DCL, and --
  particularly for this case -- the f$getqui lexical function.
  A DCL command procedure can be created to perform most any task
  you want in this particular area.
  The OpenVMS User's Guide manual and the Digital Press book Guide
  to Writing Real Programs in DCL will likely be of interest here.
  Existing discussions of the f$getqui lexical include the following
  topics: (813), (1240), (2159), (3951), (4546), (4568), (4903), (5188)
  (5471), (5567), (5651), (5793), (5982), (6315), (6877), etc.

answer written or last revised on ( 15-AUG-2001 )

» close window