HP OpenVMS Systems

ask the wizard
Content starts here

Batch/Print/Queue/Entry/Job/f$getqui/sys$getqui

» close window

The Question is:

 
Dear Wizard,
 
previous message was not completed. I had some problems with my typing (I
 pressed TAB) and accidently the SPACE key. As I do when writing procedures in
 DCL I use TAB alot.
 
I would like to know how to get all file specifications from one print job with
 F$getqui.
 
For example:
 
$ print/hold a.a.*/form=a4
Job A (queue SYS$PRINT, entry 2516) holding
$ sh entr 2516/fu
  Entry  Jobname         Username     Blocks  Status
  -----  -------         --------     ------  ------
   2516  A               SASO              0  Holding
         On generic printer queue SYS$PRINT
         Submitted  8-NOV-2001 11:17:35.84 /FORM=A4 /PRIORITY=100
         File: _$1$DGA1220:[SASO]A.A;129
         File: _$1$DGA1220:[SASO]A.A;128
         File: _$1$DGA1220:[SASO]A.A;127
         File: _$1$DGA1220:[SASO]A.A;126
         File: _$1$DGA1220:[SASO]A.A;125
         File: _$1$DGA1220:[SASO]A.A;124
         File: _$1$DGA1220:[SASO]A.A;123
         File: _$1$DGA1220:[SASO]A.A;122
         File: _$1$DGA1220:[SASO]A.A;121
         File: _$1$DGA1220:[SASO]A.A;120
         File: _$1$DGA1220:[SASO]A.A;119
 
 
I would like to get file specifications from the above print job.
 
$0:
$     x=f$getqui something
$     show symbol x
$     goto 0
First time it runs show symbol x should return _$1$DGA1220:[SASO]A.A;129. Next
 time it should return _$1$DGA1220:[SASO]A.A;128 and so on.
 
Please advise.
 
Thanks.
 
Saso Tomat
 
 


The Answer is :

 
  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 ( 8-NOV-2001 )

» close window