MU-VMS Archives

January 1994

MU-VMS@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Kent Covert <[log in to unmask]>
Reply To:
Miami University VMS News <[log in to unmask]>
Date:
Thu, 20 Jan 1994 16:24:40 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
In article <[log in to unmask]>,
[log in to unmask] (Bart) writes:
>   I changed my WHO.COM so now I have one that shows MIAVX1 users, and one
that
> shows OCEAN users (I called WHOM.COM).  Since both the VAX and OCEAN use the
> same login.com, is there a way to get my login.com to pick the appropriate
one
> (i.e:  If vax run who, if ocean run whom)?  This is probably really simple,
but
> dammit Jim, I'm an Accountant, not a programmer...
 
Sure.  Try the following piece of code:
 
$ IF F$GETSYI("NODENAME") .EQS. "OCEAN"
$ THEN
$! Code to run on OCEAN
$ ELSE
$! Code to run on MIAVX1
$ ENDIF
 
--
                                     Kent Covert, Software Coordinator
                                     Miami Computing and Information Services
                                     Miami University, Oxford, OH
                                     [log in to unmask]  (internet)
                                     kacovert@miavx1                 (bitnet)

ATOM RSS1 RSS2