HDTenEightyP/NetNews huggingface dataset:
From: rance@vivian.enet.dec.com (Stuart Rance)
Newsgroups: comp.os.vms
Subject: Re: How does RMS use the Lock Manager?
Keywords: RMS, Lock Manager
Date: 24 Jul 92 14:52:17 GMT
Reply-To: rance@vivian.enet.dec.com (Stuart Rance)
Organization: Digital Equipment Corporation


--

If you can get hold of a copy of the VAX/VMS Internals and Data Structures
Manual version 5.2 then have a look at Appendix H, Section H.7 
titled RMS Lock Use.  

I'm not going to reproduce it here 'cos there's a lot of it (File Locks, 
Bucket Locks, Global Buffer Locks (3 different types), Record Locks)


 ************************************************
 * Stuart Rance       rance@vivian.enet.dec.com *
 ************************************************
From: ccdk001@utxvms.cc.utexas.edu
Newsgroups: comp.os.vms
Subject: Am I in SYLOGIN?
Date: 22 Jul 92 17:32:59 GMT
Organization: University of Texas @ Austin

Anyone know of a simple, fairly fullproof way to determine if an image
is being run from SYLOGIN.COM or some other known place (step) during
process creation?

I have an installed privileged application that I want executed during the
login process, but I don't want users to be able to execute it directly.
It does "things" based on an assumed state of that process/environment at
that time particular time.  Allowing users to change their environment
(logical names, devices, etc.) and then rerunning this image could be
a problem in some instances.

Grabing the procedure depth/name from the clidata doesn't seem fullproof
enough.   Checking the imagecount in the process header could work, but
I dunno..  Patching loginout (again!) is also too messy.    I'd appreciate
any ideas/strategies.

Thanks,

++ Dave
-----------------------------------------------------------------------
David Barkelew                  Internet: barkelew@utxvms.cc.utexas.edu
Unix/VMS Services,              UUCP:     ...!ut-emx!utxvms!barkelew
Computation Center              THEnet:   UTXVMS::BARKELEW
University of Texas             BITNET:   BARKELEW@UTXVMS
Voice: (512)471-3241            FAX:      (512)471-1582
-----------------------------------------------------------------------
From: MOOREMJ@UV4.EGLIN.AF.MIL ("Martin J. Moore, TYBRIN, 882-9793")
Newsgroups: comp.os.vms
Subject: RE: Help wanted : Running out of ENQLM
Date: 21 Jul 92 20:58:00 GMT
Distribution: world
Organization: The Internet

>
>We have COBOL programs which run out of ENQLM very quickly.
>
>I know that ENQLM is the number of locks you can have queued at any
>one time, and that file i/o can use locks.  But I don't really know
>much more than that, and I would like to understand what is going on.
>
>1.  What else besides file i/o uses locks ?  I imagine there are operating
>    system tables which require locks ?
>

Are your programs opening many files for shared access?  When files are
shared, locking must be performed at the record level instead of the file
level, resulting in a many-fold increase in the number of locks needed.
One of our users had exactly this problem -- although not to the high
number you describe.
				Marty Moore
				mooremj@uv4.eglin.af.mil
From: gerard@uwovax.uwo.ca (Gerard Stafleu)
Subject: Re: Xwindows / DECwindows
Organization: University of Western Ont, London
Date: Thu, 30 Jul 1992 13:27:10 GMT

In article <klliou.712442195@milton>, klliou@milton.u.washington.edu (Kan-Lee Liou) writes:
> Can I run Xwindows applications of other machines and see them on 
> my VAX3100 DECwindows?  Thank you.
> 
> klliou@u.washington.edu

Provided you are using TCP/IP, do the following.

Say your vax is called myvax.somewhere.wherever.  Log in from that vax onto the 
machine where you want to run the X application.  If it is a Unix 
machine, do:

   setenv DISPLAY myvax.somewhere.wherever:0.0

Then run the X application.  If the other machine is a VAX, do:

   $ set display/create/transport=TCPIP/node="myvax.somewhere.wherever"
   $ display == "myvax.somewhere.wherever:0.0"

And run the X application.

[Note: the domain names (myvax.somewehere.wherever) are case sensitive.]

----
Gerard Stafleu
email: gerard@uwo.ca
CCS, NSC 202, University of Western Ontario,
London, Ontario, Canada N6A 5B7
(519)661-2151
From: iglesias@draco.acs.uci.edu (Mike Iglesias)
Subject: Connecting SCSI disks/tapes to VAXcluster
Newsgroups: comp.os.vms
Organization: University of California, Irvine
Date: 29 Jul 92 21:30:49 GMT


We're looking at replacing our 4 RA82s and 6 RA81s with some SCSI disks.
Currently, we have a VAX 6310 and VAX 8350, plus an HSC50 with the
above disks and a TA78/TU78 tape system.  We're considering getting rid
of the 8350, so a solution that connects the disks to just the 6310
should not be ruled out.

We'd also like the disk setup to work without any special software
changes to VMS, so that installs work without having to wait for the
hardware vendor to catch up (we don't install every release as soon
as it comes, but I don't like waiting for a vendor to catch up to DEC).
We would like a solution that doesn't require that we buy the disks
from the controller vendor.

If you have any recommendations or suggestions, please either post
them or email to me at the address below.


Thanks,

Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     BITNET:      iglesias@uci
Office of Academic Computing         uucp:        ...!ucbvax!ucivax!iglesias
Distributed Computing Support        phone:       (714) 856-6926
From: sysop
Newsgroups: comp.os.vms
Subject: Problem with ANALYZE/DISK/REPAIR
Date: 21 Jul 92 16:21:00 GMT
Organization: Department of Nuclear Engineering Sciences
News-Software: VAX/VMS VNEWS 1.4-b1


Hello net,

	Im running V5.3-1 and for a while now when I run ANALYZE/DISK/REPAIR
I get the message:

%VERIFY-E-SORTERROR, error sorting multiply allocated block list
-RMS-E-WLCK, device currently write locked

	I said something to DEC as an aside but didn't really get an answer.
Is this a problem?  Any ideas how to fix or why it exists?

Thanks,
Shawn

-------------------------------------------------------------------------------
Shawn A. Clifford, System Manager | Internet: sysop@robot.nuceng.ufl.edu
Nuclear Engineering Sciences      |		sac@eng.ufl.edu
University of Florida             | Home Phone: 904/335-4914
Gainesville, Florida  32611       | Work Phone: 904/392-1450  FAX: 904/392-3380
-------------------------------------------------------------------------------
Newsgroups: comp.os.vms
From: olin@cheme.tn.cornell.edu (Steve Thompson)
Subject: Re: Can I change quota entries from DCL or a program?
Reply-To: olin@cheme.tn.cornell.edu
Organization: Cornell University School of Chemical Engineering
Date: Thu, 30 Jul 1992 20:51:49 GMT

In article <9207291933.AA06009@genrad.com>, dongray@cdclu1.genrad.com (Derek Dongray) writes:
>Following my sig is a pascal program to list all disk quotas on the current
>disk. Obviously, the requires read access to QUOTA.SYS.

This will not work quite right. You must read quotas using IO$_ACPCONTROL
functions, or you will very often get incorrect results. Quotas are cached in
memory, and the numbers in the QUOTA.SYS file are only accurate when the cache
is flushed.

Steve

---------------------------------------------------------------------------
Steve Thompson, System Mangler   Internet: thompson@cheme.tn.cornell.edu
School of Chemical Engineering   Bitnet:   thompson@crnlchme
Olin Hall, Cornell University    Phone:    (607) 255 5573
Ithaca NY 14853
---------------------------------------------------------------------------
From: STUBRBEE@EKU.BITNET (Oooooooops)
Newsgroups: comp.os.vms
Subject: DECnet
Date: 23 Jul 92 14:58:00 GMT
Distribution: world
Organization: The Internet

Vaxers,
    Is there any way to do a query by useing a decnet message?

    Instead of SEND USER@NODE CPQ NAMES do a SEND NODE::USER CPQ NAMES?

    I know this sounds quite stupid.  But i'm writing a communications
utility that allows users to query another user.  But what if they give
me a decnet address?  I'm a little perplexed...i may be wrong but you
don't have to have bitnet to do a decnet message?  Or am I wrong?  Thats
why i don't just take the decnet address and convert it to a bitnet.
I'm not bitnet expert so i really have no Idea!


{-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{ Name         : David Barbee                  Aliases  : Sybie                }
{ Bitnet       : STUBRBEE@EKU                  Internet : I wish!              }
{ Disclaimer   : Listen to me?!?  Can't imagine why.                           }
{ Last Words   : Oh *beep*!  (Censored for our more sensitive readers)         }
{-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
 ssss y   y b     i eeeee  '  ssss   u   u ttttt i l     i ttttt i eeeee  ssss
s      y y  b     i e      ' s       u   u   t   i l     i   t   i e     s
 sss    y   bbbb  i eee   '   sss    u   u   t   i l     i   t   i eee    sss
    s   y   b   b i e            s   u   u   t   i l     i   t   i e         s
ssss    y   bbbb  i eeeee    ssss     uuu    t   i lllll i   t   i eeeee     s
                                                                            s
ssssssssssssssssssssssss Programmer: David Barbee sssssssssssssssssssssssss
From: danet@aud2.aud.auc.dk
Newsgroups: comp.os.vms
Subject: DDS address lookup across X.25
Date: 16 Jul 92 22:01:43 GMT
Organization: Aalborg University Center, Denmark



	Has anyone implemented a way to do address lookup in Digital's
	Distributed Directory Service (DDS) databases across X.25?

	Is it only possible to do remote address lookup inside one's
	Message Router network across DECnet?

	Please mail answers to

	Bent Filipsen
	Jutland Telephone Company
	Denmark

	e-mail: Bent.Filipsen@jt.dk
Newsgroups: comp.os.vms
From: iversen@dsfys1.fi.uib.no (Per Steinar Iversen)
Subject: DECwindows Motif 1.0A question
Reply-To: iversen@vsfys1.fi.uib.no
Organization: Department of Physics, University of Bergen, Norway
Date: Wed, 29 Jul 92 09:18:11 GMT



I have an annoying problem with DECwindows/Motif 1.0A: If a DECterm is created
from a remote node using RSHELL (MultiNet) or rsh (Unix) by a command like
rsh VMSBOX "set disp/cre/tran=tcpip/node=ANOTHERBOX\;cre/term/det", then only
the *first* window behaves as expected: SHOW DISP show where the X output is
going and applications started from the terminal window do their display
remotely. However, once I create yet another window the same way then SHOW DISP
does not work and DECW$DISPLAY is not defined! Of course I can define it
manually, but I would rather avoid that if possible. Have anyone found a way 
around this silly "feature"?

-psi (iversen@vsfys1.fi.uib.no)
From: ewilts@galaxy.gov.bc.ca (Ed Wilts)
Newsgroups: comp.os.vms
Subject: TeX font samples
Date: 23 Jul 92 12:28:23 -0700
Organization: BC Systems Corporation

I'm after a TeX document that will display a sample font listing for all the
fonts that come with the Decus TeX distribution.  Has anyone put together
something like this?

Thanks,
	.../Ed
-- 

Ed Wilts, BC Systems Corp., 4000 Seymour Place, Victoria, B.C., Canada, V8X 4S8
EWilts@Galaxy.Gov.BC.CA   |   Ed.Wilts@BCSystems.Gov.BC.CA   |   (604) 389-3430
Newsgroups: comp.os.vms
From: bdr@cbnewsg.cb.att.com (brian.d.reed)
Subject: Re: Librarian bug?
Organization: AT&T
Date: Wed, 22 Jul 1992 16:32:39 GMT

In article <9207220947.AA02928@genrad.com> dongray@cdclu1.genrad.com (Derek Dongray) writes:
>Jerry writes:
>> 	In response to an earlier question, Arne Vajhxj writes:
>> 	> Librarian bug or undocumented feature!?
>> 	>
>> 	> $ LIBRARY/INSERT text_library  help_library
>> 	> $ LIBRARY/EXTRACT=help_library/OUTPUT=help_library.hlb  text_library
>> 	> $
>> 	> $ LIBRARY/LIST help_library.hlb
>> 	> %LIBRAR-F-OPENIN, error opening RC$:[STANE]HELP_LIBRARY.HLB;1 as input
>> 	> -LBR-E-ILLFMT, illegal library format


I sense some confusion, or I've missed something in the posting.
My experience is this:  the library will extract a .hlp file, not a .hlb one.
.hlp is a text file, .hlb is a library format, so when you try to do
a LIBRARY/LIST, you get an error, as it's text file, not a library file.
At least that's what I'm seeing.



 Brian D. Reed    bdr@cbnewsg.cb.att.com
From: HOLDREGE+_MP%A1%PacifiCare@MCIMAIL.COM (HOLDREGE_MP)
Newsgroups: comp.os.vms
Subject: Decw$loginbackground>XGIF
Date: 30 Jul 92 23:36:00 GMT
Distribution: world
Organization: The Internet


Does anyone have a utility to display a GIF image in the login background?
I have the X11 bipmap working, but now I have a hankering to put a GIF 
behind WSA1:. 8-)

I tried pointing DECW$LOGIN_BACKGROUND to a command procedure which ran XGIF 
but I got "cannot open display". 

Anybody done this yet?

Matt Holdrege  5156065@mcimail.com  holdrege@eisner.decus.org
From: przemek@rrdstrad.nist.gov (Przemek Klosowski)
Newsgroups: comp.os.vms
Subject: Xwindows / DECwindows resource file
Date: 30 Jul 92 19:00:13 GMT
Organization: U. of Maryland/NIST


Hello!

I am running an Xwindow program (Xterm) under VMS (I need its
Tektronic graphics).  The program can take the resource settings
(fonts, geometry, etc) from the command line, and from the
SYS$LOGIN:DECW$XDEFAULTS.DAT file.

The command line parameters works fine, but we would like to have a
default set to be used by everyone, without having to specify it
on command line. The help file for Xterm specifies that the program
has to be installed with PHY_IO and SHARE privileges to be able to
read the DECW$XDEFAULTS.DAT file; however, when we install it with
these privileges, it still doesn't read the resources, and additionally 
it prints a message "Device not configured (?) or not available".

The only place mentioning DECW$XDEFAULTS.DAT in TFM for DECwindows
that I found doesn't even say in which directory is this file supposed
to be. The xterm program uses XtInitialize/XtGetApplicationResources
to set itself up.

Can anyone explain to me in short where is the DECW$XDEFAULTS.DAT
supposed to be? Why are the privileges needed for using it? is there a
way to put this information in a system-wide directory, instead of
individual sys$login: directories (a la application specific
/usr/lib/X11/app-defaults/XTerm file on Unix systems)

Thanks for any help you may provide.


--
			przemek klosowski (przemek@rrdstrad.nist.gov)
			Reactor Division (bldg. 235), E111
			National Institute of Standards and Technology
			Gaithersburg, MD 20899,      USA

			(301) 975 6249
From: RW764419@PUCAL.BITNET ("Robert Alan Whitaker, Jr.")
Newsgroups: comp.os.vms
Subject: sys$change_acl()
Date: 31 Jul 92 06:57:00 GMT
Organization: The Internet

Hi there,

        For some time now, I have been trying to get the sys$change_acl system
function to work, and have been unsuccessful.  I have succeeded in creating
new files with ACL's attached to them, using sys$create(), but I would also
like to be able to change current files.  I believe that my problem lies in
the itmlst parameter of the sys$change_acl() function, but I haven't been able
to figure it out, nor have I been able to find a description of the itmlst
structure, other than what it says in one of the manuals, which says that it
should contain: code (word), buflen (word), bufadr (long word), and unused
(long word), which led me to believe that it should be of the following
format:

struct itmlst {
        unsigned int code;
        unsigned int buflen;
        unsigned long int bufadr;  /* or char *bufadr; */
        unsigned long int unused;  /* or char *unused; */
        };

I have not been able to get this and many other (my version number is about
220 now) variations to work.

Does anyone know the correct syntax for this?

Does anyone have an example in C that they could send me???

If so, any help, or suggestions would be much appreciated.....

                Robert Alan Whitaker, Jr.
                RW764419@PUCAL.BITNET

Newsgroups: comp.os.vms
From: roy@umbra.gsfc.nasa.gov (Roy Nakatsuka)
Subject: How to deallocate a device ALLOCATE'd by someone else?
Organization: Goddard Space Flight Center
Date: Thu, 23 Jul 1992 21:19:52 GMT

Does anyone know of a way in VMS to deallocate a device ALLOCATE'd by another
user or process?  It seems that no matter what privileges you have or who you
are, even SYSTEM is not allowed to do this.
--
Roy Nakatsuka                       | Laboratory for Astronomy and Solar Physics
Internet:   roy@umbra.gsfc.nasa.gov | Goddard Space Flight Center
NSI/DECnet: 15831::NAKATSUKA        | Greenbelt, MD  20771
From: ARNE@ko.hhs.dk (Arne Vajhxj)
Newsgroups: comp.os.vms
Subject: Re: Tracing mailbox access
Date: 21 Jul 92 17:02:00 GMT
Distribution: world
Organization: The Internet

> >>Since it's been a little while since I went tracing through system tables, I'm
> >>hoping someone has trod this path before me.
> >
> >No such hacking is needed.
> >
> >>What I have is a process which creates a mailbox with a read attention AST.
> >>What I want to do is get the PID of the reader. Obviously, the information is
> >>in VMS since analyze/sys can get it, but what's the best (or any) way to get
> >>from a mailbox name to a pid of a referencing process? Or would I have to go
> >>the other way and hunt for a process with an allocated channel?
> >
> >When you do a write to a mailbox, the PID of the reader is passed in the IOSB.
> >When you read a message from a mailbox, the PID of the writer of the message
> >is passed in the IOSB.  Exceptions for writes with IO$M_NOW, etc.  Details
> >in the Grey Wall.
> 
> I think the intended question was actually  "How can I determine who queued the
> read request that triggered the read attention AST BEFORE I write something to
> the mailbox?"  That WOULD require some hacking.

Well I interpret the original question as: Process with PID xxxxxxxx create
a mailbox MBAyyyy and queues a read attention AST to it - the question is
how to "translate" from MBAyyyy to PID xxxxxxx for another user.

My suggestion would be something like:

  lock pages in memory
  goto kernel mode
  lock sched (or iosomething ?)
  call ioc$searchdev to translate from device-name to ucb-address
  the mb_r_ast field in the ucb contains an acb-address
  the pid field in the acb contains what we want  
  unlock sched (or iosomething ?)
  return

But I have probably missed something ...

                                                          Arne Vajhxj

Arne Vajhxj                             local DECNET:  KO::ARNE
Computer Department                     PSI:           PSI%238310013040::ARNE
Business School of Southern Denmark     Internet:      ARNE@KO.HHS.DK
From: klliou@milton.u.washington.edu (Kan-Lee Liou)
Newsgroups: comp.os.vms
Subject: Xwindows / DECwindows
Date: 29 Jul 92 20:36:35 GMT
Organization: University of Washington

Can I run Xwindows applications of other machines and see them on 
my VAX3100 DECwindows?  Thank you.

klliou@u.washington.edu
From: coar@Nephi.Enet.DEC.Com (Rodent of Unusual Size)
Newsgroups: comp.os.vms
Subject: Re: Am I in SYLOGIN?
Summary: I use a bit in SITESPEC
Keywords: one-time application, SYLOGIN, CTL$GL_SITESPEC
Date: 22 Jul 92 19:00:31 GMT
Distribution: comp
Organization: Digital Equipment Corp.
Organisation: Employed by (*NOT* speaker for) DEC, Boxborough, MA, U.S.A.


In article <1992Jul22.113259.1@utxvms.cc.utexas.edu>, ccdk001@utxvms.cc.utexas.edu writes...
> 
>I have an installed privileged application that I want executed during the
>login process, but I don't want users to be able to execute it directly.
>It does "things" based on an assumed state of that process/environment at
>that time particular time.  Allowing users to change their environment
>(logical names, devices, etc.) and then rerunning this image could be
>a problem in some instances.

    Well, this won't *quite* answer the question as asked, but..  how about a
    method for a programme that only does its thing once, regardless of how
    many times it's executed?

    I have a programme that is run twice during SYLOGIN on my systems.  Its
    basic task is to boost the current priority (so the SYLOGIN runs quickly),
    create a default diskquota and directory for the user, if necessary.  The
    second and all subsequent times it is run, it merely sets the priority
    back down to what it was at the first invocation.

    In a nutshell, it does a BBSS on an arbitrary bit in the CTL$GL_SITESPEC
    longword.  The assumption made is that this cell is guaranteed zero on
    process startup; this is a relatively safe assumption, though I'm not sure
    it's documented.

    Details:

    In technical terms, it fetches the contents of cell CTL$GL_SITESPEC, and
    checks a particular bit in it.  Then,

    o If is CLEAR, the programm:
      - calls $GETJPI is called to get the current base priority
      - calls $CMKRNL, and the kernel-mode routine
        . saves the previous priority in a kernel-mode logical name in the
    	  LNM$JOB table
    	. sets the bit in CTL$GL_SITESPEC
      - exits from kernel mode, and uses $SETPRI to boost the priority
      - creates the diskquota and SYS$LOGIN directory if necessary
      - exits

    o If the bit is SET, the programm:
      - translates the logical name mentioned above.  If it is not defined
        in kernel mode, it is ignored, and the programme exits.  If it IS
    	defined in kernel mode, the equivalence name is fed to $SETPRI
      - exits

    To do all its work, the programme needs to be installed with
    (CMKRNL,ALTPRI,SYSPRV).  Subsets disable the related functionality
    silently.

>David Barkelew                  Internet: barkelew@utxvms.cc.utexas.edu

    #ken    :-)}	Jeratol the Chaotic

Coar@Nephi.Enet.DEC.Com	 | All opinions herein contained, stated or implied,
Coar@DECUS.Org		 | are solely those of the author.  And he's fullovem.
Coar@Eisner.DECUS.Org	 | `... it was mine art, ... that made gape the pine 
Massachusetts, USA       | and let thee out.'  - Prospero (_The Tempest_)
From: DWING@UH01.Colorado.EDU (Dan Wing)
Newsgroups: comp.os.vms
Subject: Re: Rdb development tools?
Date: 29 Jul 92 16:38:35 GMT
Distribution: world
Organization: The Internet

Fred Hartman, FREDH@VAX1.Bemidji.MSUS.EDU, wrote:

[...]

>Does a LISTSERV for Rdb exist? (I've not found one.)

Yes.  

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

-----

DECRDB-L@CCVM.SUNYSB.EDU

   A new list named DECRDB-L@SBCCVM has been started for those interested
   in Digital Equipment Corporation's Relational Database products.

   This purpose of this list is to discuss any issue related to Rdb or
   any associated software and competing products.  This may include but is
   not limited to any problems/solutions/hints/suggestions/useful programs/etc.
   Although this is list is intended as a user forum, Individuals from DEC
   and other Relational Database vendors are also welcome and are encouraged
   to become members and participate in the discussion.  The only restriction 
   is that imposed by BITNET: Advertisements are not permitted.

   To join the list, send a mail message to LISTSERV@SBCCVM.BITNET or
   LISTSERV@CCVM.SUNYSB.EDU with the text containing the command:

      SUB DECRDB-L yourfirstname yourlastname

   Owner:
   Sanjay Kapur                        |Internet:    Sanjay.Kapur@sunysb.edu
   Systems Staff, Computing Services,  |Bitnet:      SKAPUR@USB
   State University of New York,       |SPAN/HEPnet: 44132::SKAPUR
   Stony Brook, NY 11794-2400          |Phone:(516)632-8029, FAX:(516)632-8046

-----

From the "SRI NIC Maintained Interest-Groups: List of Lists":


If you have access to the Internet via TCP/IP the Interest Groups
List of lists is available via anonymous FTP from ftp.nisc.sri.com
(192.33.33.22).  FTP as user anonymous and CD to "netinfo" then GET
interest-groups . The file is available as one large file at this time
(over 500,000 characters).
 
The SRI NIC list-of-lists is now available via electronic mail.
Send a message to mail-server@nisc.sri.com with the following line in
the message body:

Send netinfo/interest-groups

...and you should be returned the file in moderate sized pieces.
Further information on the server itself is available with the command

Send help

Newsgroups: comp.os.vms