HDTenEightyP/NetNews huggingface dataset:
From: john@cutler.com (John E. Babbitt Jr.)
Newsgroups: comp.os.vms
Subject: Re: Submitting Jobs for Last Day of Month
Date: 27 Aug 92 18:04:35 GMT
Article-I.D.: cutler.1992Aug27.110435.286
Organization: Cutler & Company, Inc., Medford OR (503) 770-9000

In article <1992Aug26.195009.2829@access.usask.ca>, poole@admin.usask.ca writes:
> |In article <1992Aug26.160808.1446@rtpnc.epa.gov>, rbn@ralph.rtpnc.epa.gov (Bob Boyd) writes:
> |>In article <1992Aug25.134248.285@cutler>, john@cutler.com (John E. Babbitt Jr.) writes:
> |>>In article <1992Aug25.102008.28397@jupiter.sun.csd.unb.ca>, jmacdonald@mta.ca writes:
> |>>> I am wondering if anyone has a nifty way to have jobs submit themselves for the
> |>>> last day of the month.  Thank-you.
> |>> 
> |>
> |>>I like this:
> |>
> |>> f$cvtime("01-''f$cvtime("15--+60-","ABSOLUTE","MONTH")--1-","ABSOLUTE")
> |>
> |>I think the following is more functional:
> |>
> |>$ end_of_month =  -
> |>   f$cvtime("01-''f$cvtime("1--+32-","ABSOLUTE","MONTH")--1-","ABSOLUTE")
> |>
> |>--
> |>Bob Boyd                 
> |>rbn@ralph.rtpnc.epa.gov 
> |>Unisys/EPA               
> 
> I think that John inadvertently used 60 instead of 30 which gave the last day
> of the next month.
> But...
> The above procedure will not work in December. It will give you the last day
> in December of the previous year. The year cannot be defaulted but must be
> calculated along with the month.
> 
> $ end_of_month = -
>   f$cvtime("01-''f$cvtime("15--+30-","ABSOLUTE","MONTH")'-''f$cvtime("15--+30-","ABSOLUTE","YEAR")'-1-","ABSOLUTE")
> 
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> Chris Poole
> Computing Services                        CA*Net:  Poole@ADMIN.USask.CA
> 56 Physics Building                       Phone:   (306) 966-4807
> University of Saskatchewan                FAX:     (306) 966-4938
> Saskatoon, Saskatchewan, Canada, S7N 0W0

You're right about the year-end part.  As for 30 .vs. 60, I did mean to
submit for next month's month-end.  I assumed that the job running was
to be done once a month, and resubmit itself for =next= month.

Regards,

John E. Babbitt, Jr.        {UUCP: ...hplabs!hp-pcd!orstcs!cutler!john}
Senior Programmer/Analyst   {Internet: john@cutler.com}
Cutler & Company, Inc.      {Phone: 503/770-9000 (voice) 503/770-9014 (tdd)}
Medford, Oregon  97504      {Disclaimer: What I say is my personal opinion}
Xref: sparky comp.os.vms:14601 vmsnet.sources.d:574
From: goathunter@wkuvx1.bitnet
Newsgroups: comp.os.vms,vmsnet.sources.d
Subject: Re: Zip v1.9 patch 1 now available for VMS
Date: 4 Sep 92 07:52:26 CDT
Organization: Western Kentucky University, Bowling Green, KY

In article <1992Sep3.170020.2172@wkuvx1.bitnet>, goathunter@wkuvx1.bitnet writes:
> I've also updated the ZIP-UNZIP package on FILESERV, but I'd rather
> not have everybody request all 50 pieces again! 8-)  To that end, I've
> created a .ZIP file that contains all of the modified Zip v1.9 files
> and the corresponding .OBJ files for VMS.  To get all of the files
> for the Zip v1.9 patch level 1 patch, send the following commands in
> the body of a mail message to FILESERV@WKUVX1.BITNET:
> 
> SEND ZIP19-P1-VMS
> SEND FILESERV_TOOLS
> 
I just posted ZIP19-P1-VMS to vmsnet.sources, so you should see it
there soon.

Hunter
------
Hunter Goatley, VMS Systems Programmer, Western Kentucky University
goathunter@WKUVX1.BITNET, 502-745-5251
From: SKELTON@MMC.BITNET (Hank Skelton)
Newsgroups: comp.os.vms
Subject: Re: Time recommendations for DAT cleaning
Date: 28 Aug 92 14:33:07 GMT
Organization: The Internet

> Does anyone have any recommendations for amount of hours/data between cleaning
   s
> for Winchester 4mm FlashDAT drives? I checked the hardware users guide for
> recommendations on tapes to use but none for how often.

Well, I've had mine for a year and a half.  They sent two cleaning tapes
with them, but since I've never had an error I've only cleaned the drives
once.  I run about six tapes a day on each drive, and I'll probably start
cleaning every three months or so.  I have a pretty clean environment
though - "your mileage may vary".

            Hank Skelton - Meharry Medical College
             Computer Center, Nashville, TN 37208
            BITNET: SKELTON@MMC       615/327-6289
          INTERNET: SKELTON%MMC@CTRVAX.VANDERBILT.EDU
            "That's my opinion - oughtta be yours"
From: DWING@UH01.Colorado.EDU (Dan Wing)
Newsgroups: comp.os.vms
Subject: Re: What is MMS???
Date: 31 Aug 92 23:19:09 GMT
Organization: The Internet

Phi-Long Tran, ptran@asuvax.eas.asu.edu, writes:

>In article <1992Aug28.160531.309@lime.ems.com>, mjb@lime.ems.com writes...
>> A program (lpd) I got from vmsnet.sources wants me to use MMS to build
>> the ..exe.  What is MMS?  Where do you get it? and if not can I use
>> something else?

You'll have to interpret the MMS file to determine what needs to be done to
compile and link the program; the dependencies can get fairly involved.  Try
Emailing the author for information on how to build the code if you don't
have MMS.

>     MMS is the DEC VAX/VMS Module Management Software, the VMS equivalent
>of the UNIX "make" utility.  Like "make", MMS aids in maintaining files by
>declaring rules on transforming source files into target files.  The file
>containing the rules is called a "makefile" (from the UNIX make program).
>I am not sure where you can get it, although I believe it is a DEC product.
>I hope this information helps.

This is a DEC product; contact your local sales droid.  MMS is one of thee
products you can purchase in the package called "VAXset" (I believe it is
being renamed to DECset), which include a slew of 5 or 6 other programs
that will assist you in code development, migration, testing, enforcing
standards, and finding performance bottlenecks.  It is 'reasonably priced' 
on a small system.

-Dan Wing, DWING@UH01.Colorado.EDU or WING_D@UCOLMCC.BITNET (DGW11)
 Systems Programmer, University Hospital, Denver
From: tihor@acf3.NYU.EDU (Stephen Tihor)
Newsgroups: comp.os.vms
Subject: Re: Captive accounts under VMS 5.5
Date: 31 Aug 92 19:53:00 GMT
Organization: New York University

The definitions of CAPTIVE changed several releases back when RESTRICTED
was introduced and the extra bits added (DISIMAGE et al).   THe inteded definitons
have been documented as due to change.   Could you be more specific about the problems?
From: byron@YOGI.HSC.UCALGARY.CA (Byron Draudson)
Newsgroups: comp.os.vms
Subject: Sixel to HPLJ III
Date: 26 Aug 92 20:11:58 GMT
Distribution: world
Organization: The Internet

Does anyone have a PD program that will convert a sixel file to HPGL (or
anything that an HP LaserJet III will understand)?  Output from the Decwindows
program, Paint, seems to only support sixel and Postscript.  I want to be able
to print to my HPLJ III but don't want to dish out $700 for a Postscript
cartridge.  Any help is greatly appreciated.

:byron
________________________________________________________________________
Byron Draudson, Systems Manager               byron@yogi.hsc.ucalgary.ca
Radiology, Foothills Hospital, Calgary, Alberta, Canada   (403) 670-2442
Newsgroups: comp.os.vms
Subject: Re: need utility to delete VMS NEWMAIL FOLDER messages
From: sait@mtroyal.ab.ca
Date: 26 Aug 92 22:51:42 MDT
Organization: Mount Royal College, Calgary, Alberta

In article <1992Aug24.124704.6052@slcs.slb.com>, brydon@asl.slb.com (Harvey Brydon (918)250-4312) writes:
> In article <01GNSVDCY45S90R9RA@crl.aecl.ca>, CARLSONK@CRL.AECL.CA ("Ken Carlson, AECL Research, X3664") writes:
>>In a previous article, CC4::ROIHAR wrote:
>>>I need to delete NEWMAIL folder messages which contain a certain
>>>string (i.e. mail from unwanted source or containing certain subject
>>>keywords). Anyone know of a utility that will let me do this???
>>>Please respond directly to roihar@crl.aecl.ca   ...
>>
>>You can write DCL .com:
>>******
>>$mail
>>sel/new/sub=what-ever
>>del/all
>>******
>>if what-ever contains spaces then use "text to search for"
> 
> Careful here.  If there are no messages available by the selection criteria,
> you end up selecting everything in either NEWMAIL or MAIL and the delete /all
> will delete all messages in that folder.
> 

I don't know about the SELECT/NEW command, but if you use SELECT NEWMAIL, with
a /SUBJECT or date qualifer, the DELETE /ALL command will *not* delete anything
if nothing was selected by the SELECT command.

Gary W. MacDonald
Southern Alberta Institute of Technology
Calgary, Alberta, Canada
gwmacdonald@acdm.sait.ab.ca
From: SYSTEM_JM@UNODE2.NSWC.NAVY.MIL ("SYSTEM SUPPORT")
Newsgroups: comp.os.vms
Subject: Tape Dumping Problems
Date: 27 Aug 92 13:36:00 GMT
Distribution: world
Organization: The Internet

>From BOB@aeneas.ims.disa.mil

>    I'm writing a small C program to dump out a tape device.  
>Basically, it is only a loop doing QIO reads over and over.  I need it 
>to read from the BOT to the physical end of tape, but am never 
>getting a status code for end_of_tape or end_of_volume returned.  I am 
>checking all the status codes returned in the IOSB and am getting a 
>couple of ss$_normal's followed by an ss$_endoffile.  This sequence is 

I've spent some time on this problem. There are several ways to look
for the end of tape marker, but the best way is to check the I/O status
block after each QIO. Two things are important: (1) check the I/O status
block after EACH read. When $QIO begins execution, the I/O status block
gets cleared. Some sites use double buffering and the second read will wipe 
out the I/O status block contents from the first read (this doesn't appear 
to be your problem), and (2) check if the MT$M_EOT bit is set in the 
the I/O status block. See the FORTRAN code fragement appended below.
Another method involves using the sys$getdviw service and the dvi$devdepend 
item code after each $QIO call, but this has more overhead.

Good luck!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	INCLUDE '($SYSSRVNAM)'
	INCLUDE '($IODEF)'
	INCLUDE '($SSDEF)'
	INCLUDE '($MTDEF)'

	INTEGER*2 IOSBUF(4)
	INTEGER*4 EOTTEST, OVERLAY(2)
	EQUIVALENCE (OVERLAY, IOSBUF)

	STATUS = SYS$QIOW(,%VAL(<tape-channel>), %VAL(IO$_READLBLK),
       &                  IOSBUF,,,%REF(BUFFER),
       &                  %VAL(SIZEOF(BUFFER)),,,,)
        EOTTEST = (OVERLAY(2) .AND. MT$M_EOT)
	IF (EOTTEST .NE. 0) THEN 
          (EOT has been found...)



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jim Matthews
Naval Surface Warfare Center Dahlgren Division
Dahlgren, VA
SYSTEM_JM@UNODE2.NSWC.NAVY.MIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: leichter@lrw.com (Jerry Leichter)
Newsgroups: comp.os.vms
Subject: RE: Does any VMS editor work on part of screen?
Date: 2 Sep 92 17:26:34 GMT
Organization: The Internet


	Have you managed to call any VMS editor from within _your_ executable
	and kept it from occupying the entire screen? It seems impossible to
	me, but I am sure it has been done. Please respond quickly if you
	have!

	Elaboration: When calling, e.g., EDT from your program, it immediately
	starts as if you executed it from DCL. I need to get it to work on a
	part of the screen, preferably like a pop-up.

I know of no VMS editor that explicitly supports this.  However, you may be
able to get away with a trick:  Set the scrolling region to, say, the top
12 lines; set Cursor Relative Mode (this makes cursor positioning work
relative to the scrolling region, rather than relative to the screen); set
the page size to 12; and invoke the editor.  IF the editor does not use
commands that affect the whole screen (e.g., clear screen); and IF it does
not itself try to change the scrolling region; and IF it will support display
heights other than 24 lines high; this may do the trick.  (In the case of a
VT420, you might also be able to set the left and right margins and the line
width to keep the editing within a rectangle.)

Now, which editors might you use?  Well, there's no hope with EDT - it only
knows about the 24x80 (or 24x132) displays.  TPU MIGHT work.  I know for a
fact that TECO32 will work, as I've done this.  (Set 8:W non-zero to tell
TECO32 not to use scrolling regions - the TECO32 developer actually put this
in for my macro.)  Of course, TECO as such isn't a screen editor - you have
to write one on top of it.  VTEDIT might do the trick for you.

							-- Jerry
From: leichter@lrw.com (Jerry Leichter)
Newsgroups: comp.os.vms
Subject: re: Copying passwords between UAFs
Date: 29 Aug 92 15:00:19 GMT
Organization: The Internet


	Does anyone have a utility that will copy encrypted passwords between
	two different UAFs?  I have a program that I wrote which will do it as
	long as the usernames in both UAFs match, but it won't work in the
	case where the usernames do not match. I vaguely remember that the
	encrypted password is a combination of the username and the plaintext
	password, so I can understand why it doesn't work when the usernames
	don't match.

You've just said yourself why it doesn't, and can't, work!  The encrypted
password E is calculated using a one-way function F of three arguments:

	E = F(P,U,S)

where P is the user's password, U is the username, and S is the random salt
(stored in the UAF entry).  P itself is not, of course, stored.

E depends on ALL THREE arguments; if any of them changes, E changes in an
essentially unpredicatable way.  F does this by design; otherwise it would
not be a good one-way encryption function.

If you have a UAF record, you have U, S, and E.  Since F is one-way, you
cannot, with acceptable effort, calculate P from it.  In fact, you can't find
ANY P' such that

	E = F(P',U,S)

(Since such a P' would be as good for logging in as P, if F allowed you to
find such a P', it wouldn't be useful as a means of protecting passwords!)

In your case, you have a different username, U'.  It is almost certain that

	E != F(P,U',S)

There may or may not be an S' such that

	E' = F(P,U',S')

but even if there is, because of the way F works, there is no practical way
to find it, just as you couldn't find P' above.

							-- Jerry
From: WARNER::DAMBIK@FNALF.FNAL.GOV (Ed Dambik)
Newsgroups: comp.os.vms
Subject: Re: How to obtain X button press info from character cell appli
Date: 25 Aug 92 16:09:13 GMT
Distribution: world
Organization: The Internet


 
The mouse escape sequences were documented at some point in the VWS
manuals. I believe it was found in the VT220 Terminal Emulator
section in the User's Guide. The escape squences, however, seem to
work the same for DECWindows and Motif. Some of these sequences are:

	CSI 1;2'z	-- enables locator reports
	CSI 2;2'z	-- enables one-shot locator report
	CSI 0;0'z	-- disables locator reports

where CSI is equivalent to "<ESC>[". The return reports are in the
following format:

	CSI event_code ; button_code ; row ; column; page ; & w

where event_code, button_code, row, column and page are ASCII
representations of integer values. The only difference I've noticed
between VWS and DECWindows is that VWS will add leading zeros to the
integer values to keep the number of digits fixed...

P.S. - These sequences will not work kfor VT300 series mice!

    Ed Dambik
    Fermilab, Research Division, EE Dept., Controls Software Group
    HEPnet/SPAN: FNAL::DAMBIK (43009::DAMBIK)
    Internet: DAMBIK@FNAL.FNAL.GOV            
    BitNet: DAMBIK@FNAL
    USnail: Fermilab POB 500 MS/220 Batavia, IL 60510
From: tihor@acf3.NYU.EDU (Stephen Tihor)
Newsgroups: comp.os.vms
Subject: Re: Undocumented MAIL qualifier
Date: 28 Aug 92 19:38:00 GMT
Organization: New York University

The difference has to do with the intended audience and the scope and
means of application.   Any communications protocol that can supply
unsolicited files (RSCS is another example) needs to require some
specific positive action by the user before it creates a file and
should be especially careful before hiding any important ones.  We have
observed various cyberpunks attacking users with such techniques.
From: adrian@mti.mti.com (Adrian McCarthy)
Newsgroups: comp.os.vms
Subject: Need help with UNASEFC
Date: 4 Sep 92 18:00:54 GMT
Organization: Micro Technology, Inc., Anaheim, CA
Originator: adrian@mti

I have a very simple client-server pair of programs with a bizarre bug.

The server reads a big file into memory, listens for queries on a mailbox
(using SYS$QIOW), and responds by writing back to the client's mailbox.

The client sends queries to the server's mailbox and reads the reponses back
on its own mailbox (again, using SYS$QIOW).

Everything works great.  I modified the server to use SYS$CRMPSC to map the
big file into memory rather than reading it all in at the beginning.  I've
stepped through with the debugger, and everything works as expected.  All
system service return values come back with SUCCESS.

However, the client (which has not been changed) often chokes and dies when it
tries to read the response.  The QIOW status is UNASEFC (unassociated event
flag cluster), but the IOSB status is SUCCESS and the transfer count is
correct.  It seems to happen only when the server has to touch one of the
mapped pages for the first time.  If the client is run again immediately with
the same query, the response comes back just fine.

Neither program relies on event flags since they're using QIO rather than QIOW,
so they both specify 0 as the event flag number.  Thus they aren't even trying
to use event flags in a common event flag cluster (there are no other
references to event flags in either program).

Just to add more confusion, when the client program sees the non-success
status returned from QIOW, it calls exit() (VAX C RTL) with that status.
The client then dies with an access violation inside exit().  When running
with the debugger, things get really hosed up, and I get all these messages
about internal DEBUG coding errors.

Any clues out there?  (VMS V5.5, VAX C V3.2)

Thanks,
Aid.  (adrian@lexcel.com)
From: winston@ssrl01.slac.stanford.edu
Newsgroups: comp.os.vms
Subject: Re: RE:Will lmf kill alpha???
Date: 3 Sep 92 20:05:45 GMT
Organization: SSRL, Stanford Synchrotron Radiation Lab

In article <9209030436.AA11396@ucbvax.Berkeley.EDU>, ALLIN1V2@WR-HITS.AF.MIL ("Allin1v2") writes:
> |>When we got the "temporary SUPs" from Digital 3 years ago they told us
> |>that we needed to get real PAKs.  When the PAKs for some things didn't show
> |>up after 6 months, they sent us a letter saying, "if you didn't get any
> |>PAKs, please let us know."  When the Fortran compiler showed up last month,
> |>it had a big letter on the top saying, "hey, if you don't have a certain
> |>kind of PAK, then you better get one before upgrading."
> 
>    I agree that DEC needs to get on the Ball in sending out PAKs. There has been many times I was installing something and find out that the old PAK is no good and DEC forgot to send me a new one.  I found the Temp. Service PAK service on 
> DSNLink other day ago and figure that that should help, get a TSP a little quicker than calling CSC and waiting ( and waiting and waiting) for them to call back with the PAK they should have sent in the first place.
> 
>    I haven't had a chance to use DSNLinks TSP service yet, but figure it should help and others might not be aware of it (like I wasn't)
> 
> ------------------------------------------------------------------------------
> Harry Anderson,ANDERSONHMAI@WR-HITS.AF.MIL 132.11.15.12 |Jesus Christ loves you
> Robins Air Force Base Ga - Geeks of the World Unite ! ! |and died for You.
> ------------------------------------------------------------------------------
From: terry@spcvxb.spc.edu (Terry Kennedy, Operations Mgr.)
Newsgroups: comp.os.vms
Subject: Re: Transferring BACKUP savesets via ftp
Date: 25 Aug 92 22:53:50 GMT
Article-I.D.: spcvxb.1992Aug25.185351.3689
Organization: St. Peter's College, US

In article <1992Aug25.110548.18149@newsserver.rrzn.uni-hannover.de>, dehning@tnt.uni-hannover.de (Oliver Dehning) writes:
> I tried to get some utilities from ftp.spc.edu using ftp. However, I could
> not processs  the *.BCK files (BACKUP savesets) because they have the wrong
> file format. How can I convert transferred BACKUP savesets to the right
> format? CONVERT doesn't work.

  The only directories that have uncompressed .BCK savesets are [.FINGER] and
[.UCX]. Both of these directories have clearly named files (AAA-UCX.README and
AAAREADME.1ST) which contain instructions for dealing with this. Here's the
content of AAAREADME.1ST:

  These savesets were backed up with blocksize 8192. If you transfer them
with UCX or another FTP that doesn't understand STRU VMS, you will have to
change the record size from 512 to 8192 in order to restore the saveset.

  If you have Joe Meadows' FILE utility, you can say:

  $ FILE saveset.BCK/REC=8192/MAX=8192

  If you don't have FILE, then you can use the COPY/OVERLAY command to set
the proper block size:

  $ BACKUP any-old-files FOO.BCK/SAVESET/BLOCK=8192
  $ COPY/OVERLAY saveset.BCK FOO.BCK
  $ RENAME FOO.BCK saveset.BCK

  where saveset.BCK is the name of the saveset you retrieved from here, and
any-old-files are any files (you're just interested in the file structure,
not the contents).

	Terry Kennedy		Operations Manager, Academic Computing
	terry@spcvxa.bitnet	St. Peter's College, Jersey City, NJ USA
	terry@spcvxa.spc.edu	+1 201 915 9381
From: krzysio@MIMUW.EDU.PL
Newsgroups: comp.os.vms
Subject: MicroVax3100/20e
Date: 2 Sep 92 15:35:19 GMT
Distribution: world
Organization: Faculty of Mathematics, Informatics and Mechanics,
		Warsaw University

SUB INFO-VAX Krzysztof Szafran
From: jim@mivax.mc.duke.edu (James D Dryfoos - Systems)
Newsgroups: comp.os.vms
Subject: InfoServer Client for DOS, V1.0 questions?
Date: 3 Sep 92 16:42:00 GMT
Organization: Duke University Medical Center
News-Software: VAX/VMS VNEWS 1.41

Questions:

1) Can the DOS system access a tape on an InfoServer 150?
2) Can the DOS system bind CD's in the ODS_2 format?  How?  Do you create
   another service with class type V2.0?
3) What is MicroSoft CD extensions?  How do I use it?

Thanks, Jim 

*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
*  James Dryfoos  -- Medical Informatics - Duke University Medical Center     *
*                                                                             * 
*  VMS Systems Programmer -- Postmaster - Duke Electronic Medical Post Office * 
*  dryfo001@mc.duke.edu - dryfo001@dukemc.bitnet                              *
*  Box 2914 Durham NC, 27710 USA - EARTH (919) 684-6421
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*

   =======================================================================
      James D. Dryfoos                  |  dryfo001@mc.duke.edu
      Duke University Medical Center    |  dryfo001@dukemc.bitnet
      Box 2914 DUMC                     |  (919) 684-6421 - office
      Durham, NC 27710 Earth            |  (919) 684-8675 - fax
   =======================================================================
From: tihor@acf3.NYU.EDU (Stephen Tihor)
Newsgroups: comp.os.vms
Subject: Re: Will lmf kill alpha???
Date: 1 Sep 92 04:06:00 GMT
Organization: New York University

For every DEC product I have loaded one could install just the release notes 
using OPTIONS N on a VMSINSTAL.  Many ALSO have an option to stop after installing
the releasenotes so you can read them.