home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22007 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  2.3 KB

  1. Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Mystic construction
  5. Date: 27 Jan 1993 13:09:58 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 30
  8. Distribution: world
  9. Message-ID: <1k61j6INN2ei@gap.caltech.edu>
  10. References: <1993Jan27.085300.24933@ifi.unizh.ch>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <1993Jan27.085300.24933@ifi.unizh.ch>, mueller@avalon.physik.unizh.ch (Eric Mueller) writes:
  15. >Some month ago someone posted an article with the following
  16. >commandsequence to show the number of users online. I tried
  17. >to figure out what kind of ("system-")service this could be.
  18. >Its neither a lexical function nor a regular command. I've
  19. >never seen that before and I could not find any information
  20. >in one of the manuals. 
  21. >
  22. >Can someone explain me, what this is, how it works, where I can find more
  23. >information about it and if there are other similar constructions
  24. >that one can use. I find this very usefull.
  25. >
  26. >$ SYS$GW_IJOBCNT=%X800044C0              <---------------------
  27. >$ IJOB=F$CVUI(0,16,F$FAO("!AD",4,SYS$GW_IJOBCNT))
  28. >$ WRITE SYS$OUTPUT "At the moment there are ''ijob' User(s) online."
  29.  
  30. SYS$GW_IJOBCNT is the location in which VMS stores a count of the number of
  31. interactive jobs.  You can find the address, for a particular version of VMS,
  32. in SYS$SYSTEM:SYS.STB.  You can find more information about such things in the
  33. _VMS_Internals_and_Data_Structures_ books, available from Digital Press.  There
  34. are other similar constructions that one can use.  Please note that using them
  35. is, for the most part, unsupported.
  36. --------------------------------------------------------------------------------
  37. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  38.  
  39. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  40. understanding of astronomy is purely at the amateur level (or below).  So
  41. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  42. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  43. hold me responsible for it, but my organization had nothing to do with it.
  44.