Path: utzoo!mnetor!uunet!mcvax!unido!tub!tmpmbx!pengo From: pengo@tmpmbx.UUCP (Hans H. Huebner) Newsgroups: comp.os.vms Subject: Getting Information about Queues Message-ID: <633@tmpmbx.UUCP> Date: 18 Mar 88 19:28:27 GMT Organization: netmbx GbR, Berlin - West Germany Lines: 27 Hello, I am currently writing a program which *shall* allow for screen oriented management of print- and batch-queues. The problem is, that i can't figure out how to get the actual information on what jobs are currently on the queue. It seems like there is no official way to do this, save capturing the output of a "SHOW QUEUE" command and reparsing it into machine-readable data. I don't like this approach too much, so I tried to figure out how SHOW QUEUE gets the information. SET WATCH FILE told me, that QUEMAN doesn't access the JBCSYSQUE.DAT-file directly. Looking at the SYS$SNDJBC system service description and $SJCDEF macros i found an "unused" parameter and some SJC$_-requests. It seems (to me) like there is the possibility to get the queue information with these special parameters ($SETUAI has such a parameter, and you all know what the "bad guys" did with them). The problem is of course, that these parameters are neither documented nor supported, and thus it might not be the right way to go. So here goes the question, does anyone of the gurus here know how to get hold of the information on queued print jobs from high level languages ? Thanks a lot, Hans -- Hans H. Huebner, netmbx | Telex: 186672 net d Woerther Str. 36 | DOMAIN: pengo@netmbx.UUCP (sigh) D-1000 Berlin 20, W.Germany | ..!{{pyramid,unido}!tub,altger}!netmbx!pengo Phone: (+49 30) 332 40 15 | BITNET: huebner@db0tui6