HDTenEightyP/NetNews huggingface dataset:
From: leichter@lrw.com (Jerry Leichter)
Newsgroups: comp.os.vms
Subject: re: Processes in ctrl-Y state -detection
Date: 11 Oct 92 00:52:27 GMT
Distribution: world
Organization: The Internet


	I want to write a .COM file that will tell me what processes, if
	any, on a VMS system have been control-Y'd and are sitting at the
	DCL "$" prompt, able to be "CONTINUED".

	What do I look for? The process state is just "LEF" and it looks
	exactly like a process waiting for a DCL comment that hasn't been
	control-Y'd.

The distinction between "continuable" and "at DCL top level" is maintained
internally to DCL.  Given a little time with the DCL listings, one could
figure out where this is kept and then determine, from the DCL link map,
where in memory to look to find out.  Of course, then you'd have the problem
of looking in some other process's memory - which could be done from inner
mode code using the usual VMS trick of sending the process a kernel-mode AST
to look for you and send the result back.  Certainly not something you could
do entirely in DCL.

Actually, even the more restricted problem is interesting:  How can you tell
when the process is sitting at a DCL prompt reached from a CTRL/Y, whether
continuable or not?  If you somehow know the process is "in DCL", you can
look at the image name.  This will be non-null if there is still a user-mode
image that hasn't been run down.  Of course, it might be just about to run
down; race conditions are unavoidable here.

Further, how can you know that the process is "in DCL"?  If you knew it was
running in supervisor mode, that would be a good hint - but (a) it could be
in supervisor mode because it did a CLI callback, or did I/O to a supervisor
mode PPF; (b) DCL spends some of its time in inner modes, since it of course
uses RMS and system services (though then you could look at the previous
mode).  Really, you'd again have to figure out where DCL's read-with-prompt
QIOW (or SYNCH for a QIO) for the next command from the terminal is located,
and check whether that's where the process is currently executing.  Again,
we're talking version-specific inner-mode code....

	Is there any way to tell with F$GETJPI items?

No.

	Mail directly to me, please, as I don't always read the network stuff.

OK, I've finally had enough of this.  I answered this question because it was
interesting to me and, I thought, to other INFO-VAX readers.  Despite my
usual practice, I have NOT sent a copy of this message to the original
requestor.  If he wants thousands of people to look at his question and
perhaps give him free consulting, he can damn well take the time to follow
the group for a response.
							-- Jerry
From: JIMKIRK@corral.uwyo.edu (Jim Kirkpatrick)
Newsgroups: comp.os.vms
Subject: DDS slowness
Date: 9 Oct 92 16:03:14 GMT
Organization: The Internet

We're running All-In-1 Mail (not to be confused in any way with All-In-1;
soon to be renamed MailWorks (does it?)), and Message Router, with other
bits such as PMDF thrown in.

DDS (Distributed Directory Service) seems to be VERY slow, taking tens of
seconds to add/delete/modify entries.  Getting a full listing file takes
over 30 minutes of CPU on an 8800.  We have about 11,000 or so entries.

Is this just a dismal design, or is there something easy we can do to
improve the performance of DDS?  We're looking at just dropping it because
it is such a hog to work with.  (I do know the DDS_TIDY job runs nightly).

Jim Kirkpatrick
jimkirk@corral.uwyo.edu


Newsgroups: comp.os.vms
From: sy_bodenmann@srzts212 (1.446 Bodenmann Roland)
Subject: global section PFN mapped
News-Software: VAX/VMS VNEWS 1.41    
Keywords: VMS , PFNMAP , GSD 
Organization: Alcatel STR AG Switzerland
Date: Thu, 8 Oct 1992 15:12:00 GMT

Has anyone a code example to set up a PFNMAP global section.
Preferable not in I/O Space. I need such a section to
ensure the contents is never write to disk.

Thank in advance Roland

  R. Bodenmann, Alcatel STR AG, AST 5.912, Friesenbergstr. 75, CH-8055 Zuerich
  RFC822:  SY_BODENMANN@srzts212.alcatel.ch             Phone:  +41 1 465-2768
  X.400:   c=CH a=arCom p=Alcatel s=Bodenmann           FAX:    +41 1 465-3131
  DECnet:  PSI%022849919001::BODENMANN
From: SYSMGR@IPG.PH.KCL.AC.UK
Newsgroups: comp.os.vms
Subject: re: Survival of LAVC across network modifications
Date: 7 Oct 92 09:16:09 GMT
Organization: The Internet

>>The SYSGEN parameter RECNXINTERVAL is dynamic, so an initial idea
>>would be to set this to some suitable value on all cluster members
>>before replacing a bridge. Does anyone know whether this would
>>work (i.e. would it reliably increase the maximum tolerable network
>>interruption interval)?
>
>This is exactly what we do.  We have our RECNXINTERVAL set to 180 second always. 
>This is a little over the time it takes for a typical bridge to run the 
>spanning-tree algorithm.  That way we can swap out a bridge with a new one 
>without loosing the cluster.

Be aware that if you have any VAXstations without console password protection
set, doing this makes your system vulnerable to hacking by a person with
physical access to the VAXstation. I'll say no more for the obvious reason.

In addition, having a large RECNXINTERVAL will cause a painful pause to many
users whenever a cluster transition takes place, such as a node shutting down.
For both these reasons, dynamically increasing RECNXINTERVAL for the duration
of the network surgery, and putting it back afterwards, is better than leaving 
it high.

		Nigel Arnot

		NRA%ipg.ph.kcl.ac.uk@nsfnet-relay.ac.uk   (internet)
		NRA%uk.ac.kcl.ph.ipg@ukacrl.bitnet        (bitnet)
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.os.vms
Subject: Re: How much to charge for CPU time?
Date: 9 Oct 1992 23:28:58 GMT
Organization: HST Wide Field/Planetary Camera
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <2278@sunny.lif.de>, sys_hjk@LIFRA.LIF.DE (Hans-Joachim Koch) writes:
=But the question is REAL, no joke, no stupidity. My management wants to bill 
=the computer usage to the departments and (at higher rates) to a subsidiary.
=What's wrong with that? Therefore I need to know price/connect-minute, 
=price/cpu-second batch/interactive, price/printed pages, tape-mounts, disk 
=usage,...
=
=I'm sure it depends on the type of hardware used. A second on a Cray will be 
=more expensive than on our VAX-8530/4000-300 cluster.

It also depends on how heavily loaded your system is (a CPU-second that takes 5
hours to accrue with the process in COM state is a *LOT* less valuable than a
CPU second that accrues in 1 real second, most of the time), how secure your
system is (time on a secure system can often be much more valuable than time on
a system where anybody and his brother can access the data you're using), and
so forth.

As Ehud pointed out, the question, as specified, is stupid.  It's unanswerable.
It's meaningless.  Can I also get $10 for answering it?
--------------------------------------------------------------------------------
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.
Newsgroups: comp.os.vms,vmsnet.misc
From: qmb@inel.gov (Matt Barney)
Subject: DIRECTORY listing sorted by date
Organization: EG&G Idaho
Date: Thu, 15 Oct 92 20:32:01 GMT

Is there a way to get a directory listing sorted by date?  I'm looking for
a combination of DCL commands and/or qualifiers rather than having to 
write a program that manually sorts a directory listing.

Thanks!

Matt Barney
qmb@inel.gov
========== long legal disclaimer follows, press n to skip ===========

Neither the United States Government or the Idaho National Engineering
Laboratory or any of their employees, makes any warranty, whatsoever,
implied, or assumes any legal liability or responsibility regarding any
information, disclosed, or represents that its use would not infringe
privately owned rights.  No specific reference constitutes or implies
endorsement, recommendation, or favoring by the United States
Government or the Idaho National Engineering Laboratory.  The views and
opinions expressed herein do not necessarily reflect those of the
United States Government or the Idaho National Engineering Laboratory,
and shall not be used for advertising or product endorsement purposes.
From: gleeve@galaxy.dnet
Newsgroups: comp.os.vms
Subject: 3.5" floppy formatting on vaxstation
Date: 8 Oct 92 12:50:37 GMT
Distribution: world
Organization: The Internet

The vaxstation won't normally write to 1MB density floppies. You
need to patch the driver's UCB. If you have the definitions
ucb$l_dk_flags=344
dd_bypass=4096

then the instruction
   bisl #dd_bypass,ucb$l_dk_flags(r1)  ;with r1 pointing at the ucb

will allow the driver to format and write to the device.

   If you want to use PCX with this you need to make a change to
access.b32 (or just access.mar where it corresponds) to add the
"NOWRITE = 0; " line to the section of code that looks like this:

   SELECTONE .SECTORS OF
    SET
    [9] :
        BEGIN
            FAT_SIZE = (IF .DEVTYP EQL DT$_RX23 OR .DEVTYP EQL DT$_RX23S
                        THEN 3 ELSE 2);
            DIR_SIZE = 7;
            CLUSTER_SIZE = 2;
            NOWRITE = 0;
        END;

    [15] :
        BEGIN
            FAT_SIZE = 7;
            DIR_SIZE = 14;
            CLUSTER_SIZE = 1;
            NOWRITE = 0;


where the FIRST of the NOWRITE = 0; lines is what I added. (In access.mar
this becomes adding a clrl (r6) instruction).

Given that you'll be able to get PCX to read/write/format 720K msdos
disks on the drive. I don't know whether other drivers than mkdriver
do the same stuff...no need to discover that personally...but it
works like a charm for me, and does NOT interfere with the ability
to use high density floppies normally in the drive.
   I made a quick hack using ZDEC as a start to bash the driver, and
just run it from my login.com, so I need not mess with the disk image
of the driver, nor try to recompile from the listing-into-source...
Glenn Everhart
Everhart@Raxco.com
Newsgroups: comp.os.vms
Subject: Re: problem with vms PHONE utility?
From: s01964@seb.se
Date: 15 Oct 92 11:40:50 +0100
Organization: S-E-Banken, Sweden
Nntp-Posting-User: s01964

In article <1992Oct13.171632.9721@augustana.ab.ca>, bjorndahl@augustana.ab.ca writes:
> Thanks to all who responded to my query about PHONE.  Unfortunately, none
> of the suggestions helped.  It is installed with the privs it is supposed
> to have, the tty's all have system access protection.  We're running VMS
> 5.4-2 on a MicroVax II.  We don't have a cluster or DECNet, but the machine
> does have a node name (Vivaldi) apparently because Powerhouse wants one -
> could that be a problem for PHONE?  And I made one error in my previous
> posting - it does not work when a process calls itself.  I thought it did,
> but I was wrong.
> 
.
.
.
>
Your nodename is 7 characters (VIVALDI). The nodename is not allowed to be
longer than 6 characters. Maybe that causes your problem with phone.
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jonas Lindholm				Internet: jlh@seb.se
R-M3					Phone:	  +46 8 639 1000
S-106 40 Stockholm			Fax:	  +46 8 639 3762
SWEDEN
From: andyb@twisty.eslvcr.wimsey.bc.ca (Andy Babinszki)
Newsgroups: comp.os.vms
Subject: uucp / mail & news reader for VMS?
Date: Wed, 7 Oct 92 10:31:29 PDT
Organization: A Maze of Twisty Little Passages, All Alike
Reply-To: andyb@twisty.eslvcr.wimsey.bc.ca (Andy Babinszki)
X-Mailer: uAccess - Macintosh Release: 1.6v1

Is there a pcakage for VMS allowing a machine to participate as a
dial-up uucp node?

Also is there a mail and news reader for same? ( Hopefully these are
available via ftp! )

Andy.

---
Andy Babinszki          andyb@twisty.eslvcr.wimsey.bc.ca
                        "Hello?  Hello?"  (604) 664.4545
Newsgroups: comp.os.vms
From: welchb@woods.ulowell.edu
Subject: Re: Help in improving on HELP
Organization: University of Lowell
Date: Thu, 15 Oct 1992 14:42:54 GMT

>     Perhaps this isn't _quite_ what you had in mind, but the VMS Help library
> includes one, valuable, often-overlooked entry: "Hints".  The topics are:
> 
> 
>   Batch_and_print_jobs  Command_procedures    Contacting_people
>   Creating_processes    Developing_programs   Executing_programs
>   Files_and_directories Logical_names         Operators_in_expressions
>   Physical_devices      System_management     Terminal_environment
>   User_environment
> 
> While "Tapes" is not listed, a user _might_ try "Physical_devices", in 
> which case s/he would be rewarded with:
> 
>   Physical_devices
> 
>        Using physical devices.
>        (Also see Logical_names, and Terminal_environment)
> 
>      ALLOCATE          Allocates a device for your exclusive use.
>      DEALLOCATE        Releases an allocated device for general use.
>      DISMOUNT          Makes a storage device unavailable for processing.
>      INITIALIZE        Formats a storage device.
>      MOUNT             Makes a storage device available for processing.
> 
	
I have been aware of the "lowercase" items available to HELP, and just found
them not to be useful enough.  I admit that part of what I am trying to do
would include writing a better version of those lowercase guys, with a more
useful index.  

Also, I did not emphasize enough about the idea of a complete cross-index.
What I would like to see done is to put the entire help source into a word
processor that  generates an index for documents, except the index would
point to the commands they fall under, not to page numbers.  The $search
command, when used on my file, is a poor man's version of that.

My example of using tapes was just an off-the-cuff one.  Your points on that
example are well-taken, but even at that, it proves that a novice could
search forever for a way to rewind a tape.  [After several years of VMS,
I still do not know how to rewind a native tape other than $dismount/nounl
followed by another $mount; and $set magtape/rewind is a crazy though
consistent syntax for foreigns].

-- 
Brendan Welch, UMass/Lowell, W1LPG,  welchb@woods.ulowell.edu
From: sjansen@vms.macc.wisc.edu
Newsgroups: comp.os.vms
Subject: Re: SYS$CREPRC and PRC$M_NOPASSWORD
Date: 7 Oct 92 12:11:28 GMT
Organization: University of Wisconsin Academic Computing Center

In article <1992Oct6.231714.9666@unlinfo.unl.edu>, mosemann@unlinfo.unl.edu (Russell Mosemann) writes...

>   I'm have a hard time trying to get PRC$M_NOPASSWORD to work in
>SYS$CREPRC.  Does anyone have any hints?  The code, in C, looks like
>this
> 
>   flags = PRC$M_DETACH | PRC$M_INTER;
>   status = SYS$CREPRC(&pidadr,
>            &image,
>            &pty_dsc,
>            &pty_dsc,
>            &pty_dsc,
>            0,
>            0,
>            &prcnam,
>            0,
>            0,
>            0,
>            flags);
> 
>   This works just fine.  The pty_dsc is a description of the terminal
>side of a pseudoterminal.  Image is SYS$SYSTEM:LOGINOUT.EXE.  I can
>login just fine.  The terminal is exactly the one in the description,
>the pid is exactly the same, etc.  When I change flags to
> 
>   flags = PRC$M_DETACH | PRC$M_INTER | PRC$M_NOPASSWORD;
> 
 [ stuff deleted ]

I believe that you need to specify the UIC for the created process and pass
it in the parameter folloging the process name.

You might also consider creating a mailbox and and pass the unit number of
the mailbox in the second to last parameter to sys$creprc, then read from
the mailbox to get the exit status of the detached process.

If you are interested I could send you a bit of code as an example.

Hope this helps.
Stephan

Jansen@madraf.astro.wisc.edu

>--
>Russell
>mosemann@unl.edu
From: GILLFIR@CRF.CUIS.EDU (Ray Gillfillan - Maintenance and Development)
Newsgroups: comp.os.vms
Subject: POSTNET barcodes on line printers
Date: 15 Oct 92 17:41:45 GMT
Article-I.D.: CRF.01GPZ7USG6XU8Y55GJ
Distribution: world
Organization: Concordia University Information Systems, River Forest, Il.

I post this message to any out there who use a line printer to print POSTNET
barcodes from a VAX system.


What type printer do you print use?  Does the printer add the frame bars and
calculate the check digit?  Does the printer handle the new delivery point
barcodes?

We currently have a Printronix P300, with the IGP board, and after some
tweaking, it seems to work well.  The problem is, we have just installed a
Printronix P6000 at a client sight and are having some problems with it.  For
some reason, the script we use for the P300 does not work the same for the
P6000.  Labels printed on a 3 1/2 * 15/16 label on the P300 work fine and are
one inch apart.  But, the same labels printed on the P6000 are less than one
inch apart.

Granted, there are two separate issues here but, if you have experience with
either, please reply to the list or to me personally.


Ray Gillfillan
  ____                  ____         Raymond Gillfillan
 /    \  |      |  |   /    \        GILLFIR@CRF.CUIS.EDU (InterNet)
|        |      |  |  |              
|        |      |  |   \____         Concordia University
|        |      |  |        \        Information Systems
|        |      |  |         |       River Forest, IL
 \____/   \____/   |   \____/        (708) 209-3203 (voice)
                                     (708) 209-3177 (FAX)
From: rutges_ass@RUGB38.BDK.RUG.NL ("")
Newsgroups: comp.os.vms
Subject: Anyone succeeded installing an INN cq. NNTP server on VMS platforms?
Date: 14 Oct 92 13:43:00 GMT

Hi all,

Some time ago, I lost my NNTP access to a certain publicly accessible 
NNTP-server here in Holland. I have been offered to create my own
NNTP-server here on our VAX 3800 (Wollongong (tm) TCP/IP, VMS 5.5), with
the newsfeed to be gotten from another local site, which does not provide
us with NNTP access (security matter).

I downloaded the Cnews and NNTP sources, but they specifically state, that
it won't compile under VMS. 

So, I was curious, whether there is a noble soul, who has ported these
programs, or wrote his own, to run an NNTP (cq. INN) server on VMS?

> Please mail to me directly, because I lost my NEWS access (see above). <
  =====================================================================

Greetings,

Tijs Coumans
Computer Simulation Expert 
VAX/VMS consultant ("in the land of the blind, the one-eyed is king")
Faculty of Management Studies, University of Groningen (The Netherlands)
Mail: RUTGES_ASS @ RUGB38.BDK.RUG.NL
------------------------------------------------------------------------
Disclaimer: All I say, is on my own behalf, not that of my employer's.
From: hmn@sparcler.cc.ncsu.edu (Harry Nicholos)
Subject: Re: DCL CONVERT cannot reduce file size
Organization: North Carolina State University
Date: Mon, 12 Oct 1992 17:30:37 GMT

In article <E25D3328357FA06DE6@CPHKVX.BITNET>, 88175839@CPHKVX.CPHK.HK writes:
|> I recently discovered that after we deleted pages from the VTX
|> infobase with VTX workbench function, the VTX infobase files
|> did not become smaller.
|> 
|> Thus I tried DCL CONVERT (with many different combinations of qualifiers);
|> however, out of my expectation, only the actual size of the file became smaller
|> but not the allocated size.
|> 
|> Can someone help me to reclaim those unused disk blocks ?
|> 
|> K.C. Tam
K.C.

Here's a program I use to shrink my vtd files, this one is specific to a  jobs file, but you can still just replace the file name(s) with your own.  Are you aware of a listserve list VTX-L, where we talk about stuff like this?

If you are interested in subscribing, send a mail message to LISTSERV@NCSUVM.NCSU.EDU and in the body of the message, simply put:

SUB VTX-L yourname

Let me know if you have any questions or problems.
Cheers,
Harry

--------------------------------cut here-----------------------------
$ !
$ mc vtxctl
conn serv
close dua6:[vtx_database]jobs.vtd;1/page
close dua6:[vtx_database]jobs.vtk;1/key
exit
exit
$ !
$ ! copy to temp area
$ !
$ copy dua6:[vtx_database]jobs.vtd dua5:[vtx_temp]jobs.vtd
$ !
$ ! goto temp area
$ !
$ set def dua5:[vtx_temp]
$ !
$ ! analyze the file
$ !
$ analyze/rms_file/fdl/output=jobs jobs.vtd
$ !
$ ! optimize it
$ !
$ edit/fdl/nointeractive/analysis=jobs.fdl jobs.fdl
$ !
$ ! convert it
$ !
$ convert/fdl=jobs.fdl/statistics/share jobs.vtd jobs.vtd
$ !
$ ! copy original into .old
$ !
$ copy dua6:[vtx_database]jobs.vtd dua6:[vtx_database.old]
$ purge dua6:[vtx_database.old]
$ !
$ ! remove old version
$ !
$ delete dua6:[vtx_database]jobs.vtd;*
$ !
$ ! copy new into production area
$ !
$ copy dua5:[vtx_temp]jobs.vtd dua6:[vtx_database]jobs.vtd;1
$ !
$ ! reopen to server
$ !
$ mc vtxctl
conn serv
open/share dua6:[vtx_database]jobs.vtd;1/page
exit
exit
$ !
$ ! clean up
$ !
$ delete dua5:[vtx_temp]jobs.*;*/l
$ !
$ set def user0:[system.vtxinfo.jobs.ncin]
$ exit
-------------------------------cut here-----------------------------------

-- 
--------------------------------------------------------------------------
Harry Nicholos       KD4TCS     |>>Not always correct, but never in doubt<<
VMS Systems Programmer          | Harry_Nicholos@ncsu.edu
Computing Center                | hmn@ncsuvax.bitnet
North Carolina State University | (919) 515-5497
--------------------------------------------------------------------------
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.os.vms
Subject: re: How to prevent changing file protection
Date: 16 Oct 1992 06:43:58 GMT
Organization: HST Wide Field/Planetary Camera
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <9210151414.AA27019@relay2.UU.NET>, gleeve@galaxy.dnet writes:
>While in general VMS does not support preventing a user from changing
>protection of files he owns, there are some situations in which the
>results might be achievable.
>   If the problem is that a user attempts to deny system access to
>the files, a pass with BYPASS turned on to reset the system access to
>allow backup will take care of the problem. It's a bit rude 'n' crude
>but will work.

And absolutely unnecessary.  If you're doing backups for the system, you should
run BACKUP with READALL priv enabled (as near as I can tell, READALL was
designed specifically for the purposes of doing BACKUPs.  That's the only
reason I can think of for having it also allow the user to muck with file
headers [so that, e.g., BACKUP can write the backup date and time into the file
header]).
--------------------------------------------------------------------------------
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.