home *** CD-ROM | disk | FTP | other *** search
- 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
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: Mystic construction
- Date: 27 Jan 1993 13:09:58 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 30
- Distribution: world
- Message-ID: <1k61j6INN2ei@gap.caltech.edu>
- References: <1993Jan27.085300.24933@ifi.unizh.ch>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <1993Jan27.085300.24933@ifi.unizh.ch>, mueller@avalon.physik.unizh.ch (Eric Mueller) writes:
- >Some month ago someone posted an article with the following
- >commandsequence to show the number of users online. I tried
- >to figure out what kind of ("system-")service this could be.
- >Its neither a lexical function nor a regular command. I've
- >never seen that before and I could not find any information
- >in one of the manuals.
- >
- >Can someone explain me, what this is, how it works, where I can find more
- >information about it and if there are other similar constructions
- >that one can use. I find this very usefull.
- >
- >$ SYS$GW_IJOBCNT=%X800044C0 <---------------------
- >$ IJOB=F$CVUI(0,16,F$FAO("!AD",4,SYS$GW_IJOBCNT))
- >$ WRITE SYS$OUTPUT "At the moment there are ''ijob' User(s) online."
-
- SYS$GW_IJOBCNT is the location in which VMS stores a count of the number of
- interactive jobs. You can find the address, for a particular version of VMS,
- in SYS$SYSTEM:SYS.STB. You can find more information about such things in the
- _VMS_Internals_and_Data_Structures_ books, available from Digital Press. There
- are other similar constructions that one can use. Please note that using them
- is, for the most part, unsupported.
- --------------------------------------------------------------------------------
- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
-
- Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
- understanding of astronomy is purely at the amateur level (or below). So
- unless what I'm saying is directly related to VAX/VMS, don't hold me or my
- organization responsible for it. If it IS related to VAX/VMS, you can try to
- hold me responsible for it, but my organization had nothing to do with it.
-