[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

f$getqui and logical names?

» close window

The Question is:

 
I have a DCL procedure that calls f$getqui to loop through queue names.  The
 procedure gets stuck if there is a logical equating one queue to another.  For
 example:
 
Create queues A and B.
$ assign A B
The following never exits.  Remove the library lookup, and it exits successfully.
 
loop:
$ q = f$getqui ("display_queue", -"queue_name", "*", "wildcard")
$ if q .nes. ""
$ then
$ l = f$getqui "display_queue", -"library_specification", q, "freeze_context")
$ sh sym q
$ goto loop
$ endif
 
 


The Answer is :

 
  Please check for ECO kits, and please contact the support center
  if current mandatory and current queue-related ECO kits are loaded.
 
  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.
 
  The following DCL procedure works as expected on OpenVMS V7.3-1.
 
 
$ loop:
$ queue = f$getqui("display_queue", "queue_name", "*", "wildcard")
$ if queue .nes. ""
$ then
$   library = f$getqui( "display_queue", -
      "library_specification", queue, "freeze_context")
$   show symbol queue
$   goto loop
$ endif

answer written or last revised on ( 11-JUN-2003 )

» close window