HDTenEightyP/NetNews huggingface dataset:
From: Mariusz@fbits.ttank.com (Mariusz Stanczak)
Newsgroups: comp.os.vms,vmsnet.admin,vmsnet.sysmgt
Subject: Synchronising time between clusters.
Keywords: VMS, time, clusters
Date: 28 Sep 92 02:07:45 GMT
Followup-To: poster
Organization: Forth Bits

We have a number of clusters and standalone workstations in our
WAN.  Now is has become critical that the time on a few systems
in different clusters is "the same" (within .5 second), and we're
looking to automate the task.  Unfortunately, despite what HELP
says, /CLUSTER qualifier is not accepted by SYSMAN in the
SET ENVIRONMENT/NODE=(list_of_nodes) command, and the time has
to be entered explicitly (instead of being taken from the system
the command is being run on).  Considering how evolved and pervasive
clustering is at DEC sites, it would seem that a fundamental
functionality is missing.  What a the available solutions?  Are we
overlooking anything?  Thanks for any input,

-Mariusz

P.S.  We are running VMS 5.5 on all but one clusters, and EWS
   at that one site.
-- 
INET: Mariusz@fbits.ttank.com
UUCP: ..!uunet!longbow!ttank!fbits!Mariusz
From: srghcxp@grace.cri.nz
Newsgroups: comp.os.vms
Subject: VAX-C VMS 5.3, open(), file protections dont work?
Date: 28 Sep 92 03:24:14 GMT
Organization: Industrial Research Ltd., New Zealand.

Using VAXC, open(), the protection flags don't seem to work.

Anyone know why, have I done something stupid?


(vms 5.3,  vax c)	replies to  chrisp@grace.cri.nz

--------------------------------------------------------------------------
#include <unixio.h>
#include <file.h>

main()
{
	int f;

	f = open("a.a",O_CREAT,0777);
	close(f);
}
--------------------------------------------------------------------------
$ run test
$ dir /prot 
Directory GR_DISK1:[SRGHCXP.FNEWS]

A.A;1       (RWED,RWED,RE,RE)

Total of 1 file, 0/0 blocks.
--------------------------------------------------------------------------
From: spinillo@MARYWOOD1.MARYWOOD.EDU
Newsgroups: comp.os.vms
Subject: Lanworks/Pathworks List
Date: 6 Oct 92 12:43:26 GMT
Distribution: world
Organization: The Internet

Thanks for everyone's help on locating the Pathworks list!

For those that needed it also it is:

	LISTSERV@MIAMIU

in the body put:

	SUBSCRIBE LANWORKS YOURNAME

THANKS

Tony

Tech Coord
Marywood College
Scranton PA 18509
717 348 6215 x557
spinillo@marywood1.marywood.edu
From: DWING@UH01.Colorado.EDU (Dan Wing)
Newsgroups: comp.os.vms
Subject: Re: Delayed lexical evaluation in a DCL symbol?
Date: 5 Oct 92 00:08:39 GMT
Distribution: world
Organization: The Internet

Dr. Kenneth H. Fairfield, Fairfield@Slacvx.Slac.Stanford.Edu, wrote:

>        Why?  I'd like to define a symbol, like "PARENT", that does an
>    ATTACH to the parent (OWNER) process if I'm in a subprocess.  For
>    example, I SPAWN out of ANU-News, do some stuff, then I'd like to
>    ATTACH back to the parent process running News rather than log out
>    of the subprocess.

This may do what you want....

  in your LOGIN.COM:
  $ PARENT :== @SYS$LOGIN:ATTACH_PARENT.COM

  and in ATTACH_PARENT.COM:
  $ ATTACH/IDENTIFICATION='F$GETJPI(0,"OWNER")'

-Dan Wing, DWING@UH01.Colorado.EDU or WING_D@UCOLMCC.BITNET (DGW11)
 Systems Programmer, University Hospital, Denver
Newsgroups: comp.os.vms
Subject: Re: Forwarding Mail by Distribution Lists
From: don@zl2tnm.gen.nz (Don Stokes)
Date: 4 Oct 92 05:56:37 GMT
Distribution: world
Organization: The Wolery

cantor@star.enet.dec.com (Dave Cantor) writes:
> You might be able to trick SET FORWARD into accepting a logical name
> which points to something other than a single addressee, but it isn't
> supported, and it will undoubtedly not always work the way you think
> it should.

I think you should explain the _why_ along with the what in these cases.

Logical names are translated only at the time the message is addressed, 
thus:

	$ assign joe_user joe
	$ mail file.txt joe

is exactly the same as:

	$ mail file.txt joe_user

as far as the mail _transport_ is concerned.

On the other hand, a SET FORWARD/USER=joe joe_user sets the forwarding 
address at the point of receipt of the message, so the message travels
right through the mail system with a recipient address of joe, up to the
point it is delivered, when joe is translated to joe_user and placed in
joe_user's mailbox.

MAIL-11 unfortunately only allows one recipient per address, which makes
setting up distribution lists a bit of a pain.  An '@' distribution list
is only expanded by the sending agent, not by the receiver.  Thus, assigning
a logical name to point to a distribution list is OK, since both are 
translated before the message is sent, at which point each recipent address
points to one real recipient.  On the other hand, specifying a distribution
list in a forwarding address means that each address sent may refer to more
than one real recipient, which is a no-no in MAIL-11.

If you want distribution lists, get hold one of the umpteen listservers
and/or store-n-forward mailers floating around to do it for you.

--
Don Stokes, ZL2TNM (DS555)                        don@zl2tnm.gen.nz (home)
Network Manager, Computing Services Centre            don@vuw.ac.nz (work)
Victoria University of Wellington, New Zealand              +64-4-495-5052
Newsgroups: comp.os.vms
Distribution: jadpc2
Date: Fri, 25 Sep 92 16:41:40 -0800
From: Dan_Cook@f344.n202.z1.fidonet.org
Subject: INFO-ZIP version of ZIP for VMS...
Comment-To: All@f344.n202.z1.fidonet.org
Reply-To: Dan_Cook@f344.n202.z1.fidonet.org
X-FSC-PATH: 202/344

Anyone know where I can FTP or Freq a copy of the new INFO-ZIP version
of ZIP for VMS?  Please reply via E-mail or Netmail, if possible.
 

--- Maximus/2 2.01wb
 * Origin: RossNet Gateway (1:202/344)
Newsgroups: comp.os.vms
Subject: Re: TP_SERVER
From: rief@bbs.mdcbbs.com
Date: 5 Oct 92 12:44:01 GMT
Organization: Caco Pacific
Nntp-Posting-User: perschau

In article <AenTfH_00Vox4=dExz@andrew.cmu.edu>, Stuart Mark Hiser <sh1u+@andrew.cmu.edu> writes:
> Excerpts from netnews.comp.os.vms: 2-Oct-92 TP_SERVER
> whd0675@ritvax.isc.rit.e (410)
> 
> TP_SERVER, along with ICPACP, controls the Transaction Processing
...
> $ DEFINE/SYSTEM/EXEC SYS$DECDTM_INHIBIT TRUE
...
>> I heard rumors that it is required for the queue manager on VMS V5.5.  Is
>> this true?  Is there any programming documenation?  Thanks in advance!

With this logical definition, TP_SERVER will not start, but ICPACP will, since
it is required for the queue manager.

-- 
* Mark Rief   =8*)              rief@bbs.mdcbbs.com                 *
* Caco Pacific, 813 N. Cummings Rd, Covina CA 91724  818-331-3361   *
Newsgroups: comp.os.vms
From: winalski@adserv.enet.dec.com (Paul S. Winalski)
Subject: Re: Help with $QIO(W)
Reply-To: winalski@adserv.enet.dec.com (Paul S. Winalski)
Organization: Digital Equipment Corporation, Nashua NH
Date: Sat, 3 Oct 1992 22:50:14 GMT


[long message describing problems with mailbox I/O and SMG output omitted]

First, about those "lost" mailbox messages.  The mailbox driver does not lose
messages.  Almost certainly what is happening is that the write $QIO operation
is failing.  That is, the messages are never making it into the mailbox in the
first place.  You mentioned that you are using the IO$M_NORSWAIT modifier.
This means that if the mailbox is full when you do your write, your process
will not go into a resource wait until mailbox space is available, as is
normally the case.  Instead, the $QIO will fail with SS$_MBFULL status set in
the first word of the IOSB.  You should ALWAYS check the IOSB status word on
completion of a $QIO or $QIOW operation.  If you do not, you can never be sure
that your I/O completed successfully.  I recommend you avoid using IO$M_NORSWAIT
if you possibly can.  Why do you think you need it?

As for the problem with SMG freezing, this is most likely because SMG is not
AST-reentrant, and you are doing SMG operations from within an AST.  Since 
you mention hitting RETURN, it sounds like the main line of your program has
done some sort of read operation to the terminal.  A read via SMG, perhaps?
If so, you are likely interrupting a SMG routine with an AST that calls another
SMG routine.  This is not allowed and could easily produce the kind of tie-up
that you're seeing.

--PSW
From: jhwelch@ecs.umass.edu
Newsgroups: comp.os.vms
Subject: 4000-VLCs stuck with "operator" window after boot
Date: 5 Oct 92 15:31:31 GMT

We recently bought some 4000-VLCs.  One I set up as a standalone
machine and it works just fine.  The others I added to an
existing mixed-mode cluster.  When they start DECWindows (the vms
5.5-1 version) it's necessary to hit CTRL-F2 to remove the
"operator" window that is left behind.

The same startup files are used to some 3100 model 38s and they
don't have this "feature."  I've gone around and around with DEC CSC
on this one making sure the relevant OPC$ logical names are
defined correctly and am stumped.

Does anyone have any suggestions?

Thanks,

Jonathan Welch  VAX Systems Manager  Umass/Amherst  JHWELCH@ecs.umass.edu
From: cranem@edsi.plexus.COM (Mike Crane)
Newsgroups: comp.os.vms
Subject: TK70 tape drive problem
Date: 5 Oct 92 21:52:07 GMT
Article-I.D.: edsi.1992Oct05.215207.21860
Organization: Enterprise Data Systems Incorporated, Appleton WI

Hello.  We just recently replaced a TK50 tape system with a TK70 tape
system.  Today I made our first use of it, and perhaps our last.  After
completing a backup of our system disk, I unloaded that tape and
inserted a new one to proceed with the backup of the next drive.  The
tape drive's "Tape in Use" light would flash for a while and I would
hear the tape "whirring" around, then the "Tape in Use" light would
shine solidly for a while.  After that, at least for the backup of the
system disk, the "Tape in Use" light went out and I was able to proceed
with the use of the drive.  Now, however, when I've put the second tape
in the drive to backup the next drive, the tape drive went through the
first two steps without a hitch, but then ALL of the lights on the front
of the tape drive's panel  are flashing and I cannot get it to release
the tape.  I tried to shutdown and reboot the system, but that just made
the system forget that the tape drive even exists as a device!  

So, I need help for two things.

1) How do I get the tape out of the drive without causing any (further?)
damage?

2) What are some possible reasons for a *NEW* tape drive to do this?


Please reply via e-mail to cranem@edsi.plexus.com.  My e-mail feed seems
to be somewhat more reliable that my usenet feed.  Thanks in advance.

-- 
Mike Crane           Bang: uunet.uu.net!edsi.plexus.COM!cranem@uunet.UU.NET
Internet: cranem@edsi.plexus.com | Michael_Crane@ntc.com | mike566@aol.com
GEnie: M.CRANE   AOL: MIKE566      "Who needs drugs...we've got UNIX!" - Me
      (Internet addresses are listed in order of preference of use.)
From: ARNE@ko.hhs.dk (Arne Vajhxj)
Newsgroups: comp.os.vms
Subject: Re: Low PATHWORKS performance?
Date: 3 Oct 92 11:04:29 GMT
Organization: The Internet

> I have a little question about PARTHWORKS 4.0 performance.
> We've VAX-8350, HSC-70, DS2800 (RA-82 compatible), thin Ethernet,
> WD 8003 (Ethernet cards), and VMS 5.4.
> We've created PCFS common file service and started at IBM PC
> Nortnon System Information. The utility has shown 'Network performance'
>   Read  - 38.2K
>   Write - 40.1K
> 
> My question is -
> Is it ordinary PARTHWORKS performance or I will have to
> change something?

I just tried running SYSINFO here and got:

  Reads  - 70.4 K/s
  Writes - 55.5 K/s

on a IBM 386 SX with a 3COM card and a VAX4200 as server with
the common file service on a RF72 (both disk and host unloaded).

I am a little puzzeled by the fact, that your write is greater than your
read ! (I am not a pathworks expert, but normally reads are faster than
writes)

If you have memory to spare on the system, then you could try increasing
the cache-size !

You migth consider cross-posting the question to the PCSA list.

                                                          Arne

Arne Vajhxj                             local DECNET:  KO::ARNE
Computer Department                     PSI:           PSI%23831001304030::ARNE
Business School of Southern Denmark     Internet:      ARNE@KO.HHS.DK
From: DWING@UH01.Colorado.EDU (Dan Wing)
Newsgroups: comp.os.vms
Subject: Re: DCL to check for identifier
Date: 29 Sep 92 16:42:02 GMT
Distribution: world
Organization: The Internet

Koh Eng San, WITH NO RETURN ADDRESS other than this monster from the header,
<agate!spool.mu.edu!yale.edu!jvnc.net!nuscc!edbis@UCBVAX.BERKELEY.EDU>, writes:

>I am writing a DCL program to check if a user has a certain identifer. I have
>checked the lexical function F$PRIVILEGE and it doesn't seem to be able to
>check for the existence of ACL identifier.

In VMS V5.4, the following new items codes were added to F$GETJPI:

  PROCESS_RIGHTS
  SYSTEM_RIGHTS
  RIGHTSLIST

which can be used to get the user's, system's, or both (RIGHTSLIST) rights.

-Dan Wing, DWING@UH01.Colorado.EDU or WING_D@UCOLMCC.BITNET (DGW11)
 Systems Programmer, University Hospital, Denver

Organization: Heinz School, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.os.vms
Date: Sat,  3 Oct 1992 15:56:03 -0400 
From: Stuart Mark Hiser <sh1u+@andrew.cmu.edu>
Subject: Re: TP_SERVER

Excerpts from netnews.comp.os.vms: 2-Oct-92 TP_SERVER
whd0675@ritvax.isc.rit.e (410)

> Does anyone know what the TP_SERVER process does?  I do not see any
> documentation for it anywhere.  Am I missing the obvious?  Nevertheless,
> it does not seem to be required for normal operation on VMS V5.4-2 systems.

TP_SERVER, along with ICPACP, controls the Transaction Processing
Services introduced with VMS 5.4.  To fully make use of this facility,
you must first initialize the transaction log file:

$ MCR LMCP
LMCP> CREATE LOGFILE SYSTEM$scsnode

and then install a suitable transaction manager, such as RMS Journaling,
or RDBVMS.  To disable these processes, do

$ DEFINE/SYSTEM/EXEC SYS$DECDTM_INHIBIT TRUE

in SYS$MANAGER:SYLOGICALS.COM, as I have done on my systems.  This is
documented (somewhat) in the 5.4 release notes.

> I heard rumors that it is required for the queue manager on VMS V5.5.  Is
> this true?  Is there any programming documenation?  Thanks in advance!

Don't know here - I haven't upgraded to 5.5 yet.  Perhaps it's also in
the release notes.

> Walter H. Dick, III
> WHD0675@RITVAX.ISC.RIT.EDU

Stu Hiser, System Manager, CMU
sh1u@andrew.cmu.edu
From: leichter@lrw.com (Jerry Leichter)
Newsgroups: comp.os.vms
Subject: strftime:  Correction
Date: 30 Sep 92 18:59:54 GMT
Article-I.D.: uu3.9209301901.AA29931
Distribution: world
Organization: The Internet

In an earlier posting, I said that strftime() was a POSIX invention.  A closer
reading of the standards reveals that, in fact, strftime() is an ANSI C
invention that was adopted (with minor extensions) by POSIX.

To return to the original question of how to run a program that uses it on a
VMS system:  Since strftime() is a POSIX-standard function, it is available
if you have VMS POSIX.  This is a layered product (with a no-cost license)
that only runs on very recent VMS versions, so if you are talking about a
program that has to run on many VMS systems, assuming that it is there is
probably a non-starter.

An alternative is to write it yourself, or get an implementation from some-
where else - Plauger's implementation of the standard C library, for example.
(You'd have to pay a license fee for it.)

To avoid future problems and really be properly portable, it would be best to
call the resulting function something like my_strftime, then do:

#if VMS
#define strftime my_strftime
#endif

The best/simplest alternative I've heard came from Kathleen Fischer, who asked
the original question:  Extract the module that contains strftime() (C$TIMEF)
from VAXCRTL.OLB and link it into the image; resolve the rest of the RTL from
the shareable image.  (Note that you'll get not just strftime(), but all the
other time routines, like ctime(), that happen to be defined in the same
module.)  While there's no guarantee that this will work in general - nor, in
this case, is there any guarantee that the version of strftime() you find in
VAXCRTL.OLB is functional - in practice this seems, for the moment, to do the
trick, while avoiding the unpleasant side-effects of linking against the
object library for the whole RTL.

							-- Jerry
From: SYSTEMM@FRED.ALHRG.WPAFB.AF.MIL (System Manager Wuest)
Newsgroups: comp.os.vms
Subject: RE: help with vms lexicals
Date: 30 Sep 92 14:54:36 GMT
Distribution: world
Organization: The Internet


 <1992Sep28.043937.12230@samba.oit.unc.edu> (Sahir Siddiqui)  posts:

>	I don't know exactly how to explain this, but here
>goes.  When I do a finger at my node, i get a listing
>of users, with their locations - terminal server ports, lat
>ports, etc...
>	What I need is to determine the location of a given
                                        ^^^^^^^^
>user, in a program - preferably in DCL.  I was wondering if
        ^^^^^^^^^^^
>there was a lexical to do this for me.  I would appreciate
>someone pointing me in the right direction.

>-Sahir
> u93_ssiddiqu@vaxa.stevens-tech.edu
> u93_ssiddiqu@stevens.bitnet
> sahir.siddiqui@bbs.oit.unc.edu

  I don't quite understand your problem.  MY FINGER (which may be different
  than yours) shows the _program_ (image) that the user is running.  Is this 
  what you are looking for?  Or are you trying to find out where (the PHYSICAL
  presence is) of said user?  And accomplish it with a program?  Or do you 
  mean where _in_the_program_ (which line of code is executing) the user is?

  The answer makes a great deal of difference.  If the latter, you are pretty
  much out of luck.  The answer to the second ? has a lot to do with your
  in-house documentation and nameing conventions.  Not a problem here, as we
  are a small organization, and the terminal server names reflect their 
  physical location.  Also, we are familiar with all the users (and their
  office locations).  You _could_ use DCL if you would develop some on-line
  documentation; physical location is not stored in the NCP database.  

  Try clarifying your request, and maybe someone on this list.net can help.

==(*)==  ==(*)==  ==(*)==  ==(*)==  ==(*)==  ==(*)==  ==(*)==  ==(*)==  ==(*)==
|  Mike Wuest, Allin1, DDN, & VAX Systems Manager  SYSTEMM@ALHRG.WPAFB.AF.MIL |
|  Armstrong Labs, Logistics Research Div.         SYSTEMM@[131.28.15.14]     |
|  Comm: (513)255-8225    DSN 785-8225    (a.k.a.) MWUEST@ALHRG.WPAFB.AF.MIL  |
|  "If it wasn't for our guns, we would be British citizens.  Think about it!"|
| Disclaimer: Opinions are like ears; everybody has a couple - these are mine!|
==(*)==  ==(*)==  ==(*)==  ==(*)==  ==(*)==  ==(*)==  ==(*)==  ==(*)==  ==(*)==

Newsgroups: comp.os.vms
From: sabotkap@woods.ulowell.edu (Pete Sabotka)
Subject: Re: help with vms lexicals
Organization: University of Lowell
Date: Mon, 28 Sep 1992 17:03:01 GMT

: In article <1992Sep28.043937.12230@samba.oit.unc.edu>, Sahir.Siddiqui@bbs.oit.unc.edu (Sahir Siddiqui) writes:
:  	I don't know exactly how to explain this, but here
:  goes.  When I do a finger at my node, i get a listing
:  of users, with their locations - terminal server ports, lat
:  ports, etc...
:  	What I need is to determine the location of a given
:  user, in a program - preferably in DCL.  I was wondering if
:  there was a lexical to do this for me.  I would appreciate
:  someone pointing me in the right direction.
:  
:  Thanks,
:  -Sahir
:   u93_ssiddiqu@vaxa.stevens-tech.edu
:   u93_ssiddiqu@stevens.bitnet
:   sahir.siddiqui@bbs.oit.unc.edu

Try the lexical function f$getdvi(terminal,"tt_accpornam")

^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v^-v-^
Pete Sabotka, Meteorology Dept.           DECnet:  WOODS::SABOTKAP
University of Massachusetts - Lowell        Inet:  sabotkap@woods.ulowell.edu
^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v-^-v^-v-^
From: paul@kuhub.cc.ukans.edu
Newsgroups: comp.os.vms
Subject: Re: VAXstation: 3.5" floppy won't format
Date: 6 Oct 92 09:21:32 CDT
Organization: University of Kansas Academic Computing Services

In article <1992Oct5.132840.43590@kuhub.cc.ukans.edu>, paul@kuhub.cc.ukans.edu writes:
> I bought a 3M 3.5" floppy DS/DD (1 mbyte) and tried to init it on a VAXstation
> 3100/40. No matter what I try I keep getting the message
> 
> %INIT-F-FORMAT, invalid media format
> 
> Ideas? Thanks!

Thanks for all the answers. The solution is to buy HD diskettes, not
DD diskettes.
From: dutch@elpp7.epfl.ch
Newsgroups: comp.os.vms
Subject: DCL procedure to extract nodename from PID
Date: 29 Sep 92 11:22:33 GMT
Reply-To: dutch@elpp7.epfl.ch ()
Organization: Ecole Polytechnique Federale de Lausanne


Is there a simple method to extract the node name from a PID using DCL? 
This could be a FAQ, but I have scanned the lexicals with no luck. It seems to me that this should be possible, as the node name appears to be encoded into the initial (leftmost) digits of the PID.
something like: local_node=f$getjpi(PID,"node") would be ideal
 The only (messy) solution that I can see at the moment is to extract the first few digits from the PID and use a hardwired lookup table to get the node name 
Newsgroups: comp.os.vms
From: c145gmk@utarlg.uta.edu (Gordon M. Keegan)
Subject: Re: TFTP
News-Software: VAX/VMS VNEWS 1.41    
Organization: The University of Texas at Arlington
Date: Wed, 30 Sep 1992 20:47:00 GMT

In article <1992Sep24.005859.17911@mnemosyne.cs.du.edu>, dmgirard@nyx.cs.du.edu (David Girardot) writes...
> 
> 
>I still don't see why this capability is neccessary.  If you want
>unrestricted file-transfer, why not allow anonymous logins to a specified
>dir?  (TFTP just sounds like a big risk).
> 
>--David


	A couple of uses that we have found for it is to 1) load fonts
	from a DecStation to diskless VT1200's and 2) to allow an Emulex
	print server to load it's boot software remotely.  Both of these
	are done without human (or other organic) intervention after the
	initial setup is performed.


/---------------------------------------------------------------------------\
|  Gordon Keegan                    ||   Bitnet  : c145gmk@utarlg           |
|  Systems Programmer               ||   THEnet  : UTARLG::C145GMK          |
|  Academic Computing Services      ||   Internet: c145gmk@utarlg.uta.edu   |
|  University of Texas, Arlington   ||   AT&TNet : 817-273-2208             |
\---------------------------------------------------------------------------/
From: gleeve@galaxy.dnet
Newsgroups: comp.os.vms
Subject: defragging open files
Date: 3 Oct 92 12:47:46 GMT
Organization: The Internet

Actually, it IS possible (with sufficient care) to defragment
open files, at least a lot of the time. Installed open files are
likely to be a greater problem, though, in that more places
point to them on disk than "normal" ones, and they would have
to be treated with more care for that reason. What can't be done
safely is to try to move files for which there is actually
pending I/O...at least without a totally crazy amount of poking
all over the I/O subsystem.
Glenn Everhart
Everhart@raxco.com