home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ulowell!news.bbn.com!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: Help with SYS$GETSYI please!
- Date: 27 Jan 1993 12:44:39 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 24
- Message-ID: <1k603nINN2ei@gap.caltech.edu>
- References: <davids.728101271@marloo.kowari.cpsg.com.au>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <davids.728101271@marloo.kowari.cpsg.com.au>, davids@kowari.cpsg.com.au (David Schulz) writes:
- >I am trying to use SYS$GETSYI to retrieve the local node name. The call is
- >returning successfully, but the buffer is empty and return length is
- >zero. Any help will be greatly appreciated. The code fragment below
- >shows what I'm trying to do.
-
- Your code works fine on my system. Do you have the SYSGEN parameter SCSNODE
- defined? SYS$GETSYI simply returns the value of that parameter when you give
- it an item code of SYI$_NODENAME.
-
- By the way, you *REALLY* ought to also include the iosb argument in the call.
- The return status simply tells whether the system service was successfully
- dispatched (i.e., whether you gave it the right number of arguments, whether
- all the arguments were accessible in memory, whether item lists were terminated
- properly, etc.). It doesn't tell you whether or not the system service
- completed successfully.
- --------------------------------------------------------------------------------
- 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.
-