HDTenEightyP/NetNews huggingface dataset:
From: imhw400@indyvax.iupui.edu
Newsgroups: comp.os.vms
Subject: Re: is there a vms equivalent of unix CRON?
Date: 10 Apr 92 11:59:52 -0500

In article <1992Apr9.231258.5644@massey.ac.nz>, news@massey.ac.nz (USENET News System) writes:
> i was wondering how to do unix CRON type things on VMS. for example, i want
> to run a command file every week. the only way i see to do this, so far,
> is to create a batch job which resubmits itself. this seems kind of dangerous,
> as the batch job could go away without me noticing it.

We have many such jobs.  We've used them for years.  Yes, occasionally a crash
will catch one, but you can minimize the chances by having the job resubmit
itself *first*, and then do time-consuming work.

If you don't mind using a commercial product, Digital sells DECscheduler which,
like cron, executes various commands periodically.  It has all kinds of other
features to give production-systems people that warm, fuzzy feeling.  I've just
started to take a serious look at it, 'cuz I don't like writing that
resubmit-myself, mail-me-on-error logic over and over and over and over....

Any comments from more seasoned DECscheduler users?
-- 
Mark H. Wood, Lead Analyst/Programmer    +1 317 274 0749   [@disclaimer@]
Internet:  IMHW400@INDYVAX.IUPUI.EDU     BITNET:  IMHW400@INDYVAX
Celebrate freedom:  read a banned newsgroup.
From: winalski@tle.enet.dec.com (Paul S. Winalski)
Newsgroups: comp.os.vms
Subject: Re: Command line with VMS C
Date: 6 Apr 92 18:03:18 GMT
Reply-To: winalski@tle.enet.dec.com (Paul S. Winalski)
Organization: Digital Equipment Corporation, Nashua NH


In article <1992Apr06.163220.160288@rrz.uni-koeln.de>,
aeg03@rrz.uni-koeln.de (Jan T. Kim) writes:

|>So my question is: What do I have to do in order to enable a user to
|>run my program and give it a command line at the same time?

You must define your program as a foreign command.  To do this, you define
a DCL symbol for the command name.  The value of the symbol is a $ followed
by the file specification for the program's .EXE file.  The default for
foreign commands is SYS$SYSTEM:.EXE, so you must specify the disk and
directory if the program is not in SYS$SYSTEM.

For example, suppose that your program is in DUA2:[WINALSKI.XXX]FOO.EXE,
and you want to use the FOO command to invoke it.  You would define a
DCL symbol FOO as follows:

	$ foo = "$dua2:[winalski.xxx]foo.exe"

Having done this, you can use FOO as a command and pass command line
parameters to it, more or less just like on Unix.  I say "more or less"
because VAX C downcases everything on the command line not enclosed by
quotes.

--PSW
Newsgroups: comp.os.vms
From: winalski@tle.enet.dec.com (Paul S. Winalski)
Subject: Re: SET DISPLAY/SCREEN=??
Reply-To: winalski@tle.enet.dec.com (Paul S. Winalski)
Organization: Digital Equipment Corporation, Nashua NH
Date: Wed, 8 Apr 92 18:49:10 GMT


In article <1992Apr8.063256.9669@news.Hawaii.Edu>,
pnd@jach.hawaii.edu (Phil Daly, JAC, 665 Komohana St, Hilo HI 96720, USA) asks
if there is a way to use SET DISPLAY/SCREEN to direct DECwindows output to
more than one screen at a time.  The answer is no.  The /SCREEN qualifier
is for use with multi-headed workstations (those with more than one monitor
and video controller attached).  It lets you direct the display to the non-
default screen.  It can't be used as a T-connector to send the same output
to multiple screens.  However, I think there are some X gizmos floating around
to do that.

--PSW
Newsgroups: comp.os.vms
Subject: Re: symbols
From: mckeever@cstp.umkc.edu
Date: 9 Apr 92 09:23:16 -0600
Distribution: world
Organization: UM - Kansas City, Computer Science

In article <920402813@bwunltd.wciu.edu>, ron@bwunltd.wciu.edu (Ron Williams) writes:
> BOB@aeneas.ims.disa.mil ("Bob George") writes:
>>>>In 25 words or fewer, what's the difference between a symbol and a logical?

 [...]

> 	A Logical could be thought of as a 'Logical Device', and
> thereby can represent a node name SYS$NODE whose equivalence is
> something like DDPSRV::, or SYS$SYSDEVICE which could look something
> like DB786:.

Logical names can also be used to point to other things.  For example, you
can use them to define personal mail aliases in your LOGIN.COM as well:

   $ DEFINE BRIAN_MAN "IN%"""MCKEEVER@CSTP.UMKC.EDU"""

Then you can use the name BRIAN_MAN as a "To:" address.

Most 3rd party mailers allow personal alias files too.  But if you don't
have one you can use logical names as a poor-mans aliasing mechanism.

--Brian

UUUU  UUU MMM   MMKK KKKK   CCCC      Brian McKeever  MCKEEVER@CSTP.UMKC.EDU
 UU    U   MM   MMK   K    CC  CC                     MCKEEVER@UMKCVAX2
 UU    U   MMM M MK KK    CCC         
 UU    U   M MM  MK   KK   CC  CC     University of Missouri - Kansas City
  UUUUU   MMM M MMKK   KK   CCCC
                        KK            A faithful friend is the medicine of
                          K           life.              -- Ecclesiasticus
Newsgroups: comp.os.vms
From: bhuttam@woods.ulowell.edu (Bilal A. Bhutta  aka The Nukeman)
Subject: Tek window under DECwindows?
Organization: Nuclear Eng. Dept, UMass-Lowell
Date: Tue, 7 Apr 1992 17:52:59 GMT

Hi there,
   Is there a way to open a Tektronix 4010/4014 window in DECwindows? I looked 
through the help utility but to no avail. Now a dump question: A program which 
draws in a Tek window, can it be fooled into drawing in a VT340 window, without 
changing the program? I know that the drawing in done by escape codes, but don't
know if the codes for the two terminals are different. 
  Thanks in advance.

Bilal A. Bhutta
-- 
 Nuclear Engineering Dept.   |  Praise be to Allah, to Whom belong all things in
 Univ. of Mass at Lowell     | the heavens and on earth; to Him be Praise in the
> bhuttam@willow.ulowell.edu | hereafter; and He is Full of Wisdom, Acquainted 
> mbhutta@cs.ulowell.edu     | with all things.            Qur'an 34:1
-> Well, the university doesn't pay me enough to be its public rep. too! :^)  <-
From: murphy@npri6.npri.com (David P. Murphy)
Newsgroups: comp.os.vms
Subject: Re: Descriptors and VMS C (again!)
Date: 14 Apr 92 00:45:59 GMT
Distribution: world
Organization: NPRI, Alexandria VA


 >        char    *file,
 >                tmp_file[255];
 >
 >  $DESCRIPTOR(filename, tmp_file);
 >
 >  file = (char *) malloc(255);
 >  descriptor(&filename, file);
 >  lib$find_file(&directory, &filename, &context);
 >  printf("%s\n",file);
 >
 >descriptor(desc,str)
 >        struct dsc$descriptor_s *desc;
 >        char *str;
 >{
 >        desc->dsc$w_length=strlen(str);
 >        desc->dsc$b_dtype=DSC$K_DTYPE_T;
 >        desc->dsc$b_class=DSC$K_CLASS_S;
 >        desc->dsc$a_pointer=str;
 >}
 >
 >SVVAIKUN@OWUCOMCN.BITNET (Ram Samudrala)

i would suggest that passing a newly-malloced pointer to strlen() 
will generally yield random results.  you are not using the macros
very well if you are also calling your own function; but i'm not
going to go into that.  the quick-and-dirty fix is to add the line

          filename.dsc$w_length = 254;

immediately *after* the line

          descriptor(&filename, file);

ok
dpm
-- 
murphy@npri6.npri.com 602 Cameron St. Alexandria, VA 22314 (703) 683-9090

              When every one is dead the Great Game is finished.  Not before.
                              --- Hurree Babu, "Kim"
From: MAHAN@GRUBNIK.TGV.COM
Newsgroups: comp.os.vms
Subject: Re: DECWindows/X-Windows/Speeds
Date: 10 Apr 92 18:23:27 GMT
Distribution: world
Organization: The Internet

In article <1992Apr9.215655.878@drycas.club.cc.cmu.edu> you write:
#
#Can anyone tell me how "interchangeable" DECWindows is with regular X-Windows?
#I'm new to the entire concept of X-Windows, but I'm under the impression that
#I can run DECWindows stuff on an X-Terminal and also Unix stuff on the same
#terminal?  The processing is done on the other machine but the output shows up
#remote terminal?
#

DECwindows is fully compatible with X11R3.  DECwindows/Motif is fully compatible
with X11R4.

You are correct in that you can display application output from a Unix box
along side a VMS application (iff they support X Windows).  X Windows is based
on the Client/Server model with the server being that X-Terminal you have
in front of you and clients running any where on your network.

#
#For non-graphics intensive applications, how does the speed rate over standard
#Ethernet lines?  I mean, say we just wanted to have a few text windows to allow
#folks to tyupe things in, etc (IE, we're not doing 3-d soild modeling or
#anything :-)  Would that be bearable?  How about if it were over 256kb lines?
#

I find that it does quite well.  Using DECterms or Xterms both seem to be
as fast as using a char cell terminal.  However, please note that as with
any type of communication media, the slower the line the slower the response.


#
#Any RFC's that folks could point me to to further educate me, as well?
#

Info on X Windows is available from export.lcs.mit.edu.  There is no RFC
that I know of for X Windows.

--
Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long


Newsgroups: comp.os.vms
From: gaynor@magnus.acs.ohio-state.edu (Jim Gaynor)
Subject: Re: MX & UCX Question.
Organization: The Ohio State University
Date: Tue, 14 Apr 1992 11:26:18 GMT

In article <1992Apr13.163919.9636@ra.msstate.edu> gowen@walt.CS.MsState.Edu (Lon Gowen) writes:
>I have a hopefully simple question concerning MX V3.1.
>My question is do I need some other
>special software in order to use MX.  I tried doing the familiar MAIL
>using SMTP, but MAIL says that I need SYS$LIBRARY:SMTP_MAILSHR.EXE, which
>doesn't exist.

MX doesn't use "SMTP" as the transport name, it uses "MX".  So, to
mail a message using SMTP from VMSmail, you'd send it to:

	MX%"user@host.domain"

If you really want to use "SMTP" as the transport name, define a
logical that makes SMTP_MAILSHR equivalent to MX_MAILSHR.

-- 
Jim Gaynor - System Analyst       Internet: gaynor@agvax2.ag.ohio-state.edu
Ohio State University - ACS/FMS   Phone: Voice 614/292-4338 - FAX 614/292-7443
ObDiscl:  Everything stated here and above is _my_ opinion.  Mine mine mine!
ObQuote: "We need bigger guns. Big, big guns"  Det. Dick Derkin, "Split Second"
Newsgroups: comp.os.vms,vmsnet.misc
From: lito@oasys.dt.navy.mil (Angelito Lucena)
Newsgroups: comp.os.vms
Subject: cluster_config
Date: 14 Apr 92 20:01:50 GMT
Reply-To: lito@oasys.dt.navy.mil (Angelito Lucena)
Distribution: na
Organization: David Taylor Research Center, Carderock

hi,

i have a question about the cluster_config.com under vms 5.3-1.
i have a cluster of two microvax ii which i've taken system
management responsibilities for.  our boot disk on the first
node is starting to make interesting noises, so i used the 
duplicate system disk option in cluster_config.com to generate
a second system disk on our other node.  during an unexpected system
reboot (i.e. crash)  i noticed that our second node wasn't able to
independently boot off the newly created system disk.  (oh, yeah
i also changed the node config and enabled the second node as a
boot server).  after rebooting off our partly ailing system disk
on the first node, i checked the contents of our new system disk.
the [sys0.] directories weren't there!!!  the vaxcluster manual implies
that the entire system disk is duplicated onto the new drive when the
duplicate system disk option is used (i guess this didn't happen).  
can i just backup the [sys0.] directly to make my second system disk
a bootable disk??

any advice would be appreciated,

lito lucena
lito@oasys.dt.navy.mil
 now at  :  dtmb, cdhq, nwsc          'if the defaults weren't good enough,
 formerly: dtrc, carderock                  they wouldn't be defaults.....'
							bill's sister
From: frisbie@flying-disk.com (Alan Frisbie)
Newsgroups: comp.os.vms
Subject: Re: Reconstructing disk with corrupt [000000]
Date: 11 Apr 92 18:51:26 GMT
Distribution: world
Organization: Flying Disk Systems, Inc.

In article <11363101@zl2tnm.gen.nz>, 
don@zl2tnm.gen.nz (Don Stokes) writes:
> frisbie@flying-disk.com (Alan Frisbie) writes:
>> STOP!  STOP!  STOP!  STOP!  STOP!  STOP!  STOP!  STOP!  STOP!  STOP!
> 
> Alright, settle down.  Put the flamethrower aside -- you might hurt someone.

I didn't intend that as a flame and I apologize if anyone interpreted it
as such.   I simply wanted to get the immediate attention of anyone who was
about to try recovering a corrupted disk without a backup.

--  Alan E. Frisbie               Frisbie@Flying-Disk.Com
--  Flying Disk Systems, Inc.
--  4759 Round Top Drive          (213) 256-2575 (voice)
--  Los Angeles, CA 90065         (213) 258-3585 (FAX)
From: robin@lsl.co.uk (Robin Fairbairns)
Newsgroups: comp.os.vms
Subject: Re: DECthreads, VMS 5.5 and Multinet
Date: 6 Apr 92 15:57:09 GMT
Organization: Laser-Scan Ltd., Cambridge

In article <11686@tamsun.tamu.edu>, b1i3297@zeus.tamu.edu (Bryan A. Ignatow) writes:
> Has anyone out there had any experience with DECthreads (the new multithreaded
> development package which comes with VMS 5.5)?  [...]

only with reading the manual...

>                               Any comments on the DEC subroutine bindings as
> opposed to the Posix subroutine bindings?

Funny, I find it.  Normally, one expects the standard to be `all things 
to all men', providing hooks for every possible eventuality.  In that 
sort of environment, the vendor-specific code typically doesn't provide 
all the hooks.

In this manual, precisely the opposite seems true: whenever I've noticed 
a difference of substance, it's where DEC has noticed a possibly useful 
hook and has supplied it.

Having said this, I would still (just) be inclined to use the Posix 
binding, simply because it _is_ a draft standard.  Changes between the 
draft and the final standard can (with the worst will in the world)
hardly be worse than changes between the DEC binding and the draft
standard... 
-- 
Robin Fairbairns, Senior Consultant, postmaster and general dogsbody
Laser-Scan Ltd., Science Park, Milton Rd., Cambridge CB4 4FY, UK
Email: robin@lsl.co.uk  --or--  rf@cl.cam.ac.uk
Newsgroups: comp.os.vms
From: terry@unx.ucc.okstate.edu (Terry J. Klarich)
Subject: tn3270 with ucx wanted
Organization: Oklahoma State University Computer Center
Date: Thu, 16 Apr 1992 20:29:21 GMT



Is anyone aware of a tn3270 telnet program wich will work with ultrix
connection?

-- 

Terry Klarich (n5hts)
Oklahoma State University Computer Center
Stillwater Oklahoma
From: WITTWER@biel.be.tech.ascom.ch (Wittwer Fritz)
Newsgroups: comp.os.vms
Subject: Re: ACLs, ACEs & file ownership
Date: 8 Apr 92 06:17:48 GMT
Organization: Ascom Tech Ltd., Corporate Sercvices, Division for Research
X-News-Reader: VMS NEWS 1.11

In <1992Apr1.162437.1957@yogi.hsc.ucalgary.ca> byron@yogi.hsc.ucalgary.ca writes:

> I've setup a "common" directory with an ACL that provides access to a
> group of users, each with the appropriate identifier, as follows:
> 
> COMMON.DIR;1
>           (IDENTIFIER=IDX,OPTIONS=DEFAULT,ACCESS=READ+WRITE+EXECUTE+DELETE)
>           (IDENTIFIER=IDX,ACCESS=READ+WRITE+EXECUTE+DELETE)
> 
> All works well, except I need to have all files created in this directory
> (and all subdirectories) to have the same owner as the common directory. 
> Currently files created in this common directory are owned by whichever user
> actually created the file. Is there anyway to setup an ACE (or anything else)
> that will do this automatically?  None of the users have privs to set the
> files ownership by themselves.  Thanks in advance for any pointers.

You have to setup th identifier IDX as a resource identifier:

- first make it a resoruce id
UAF> MODIFY /IDENTIFIER /ATTRIBUTES=RESOURCE IDX

- grant it as a resiource id (repeate for every user wich hold it)
UAF> GRANT/IDENTIFIER /ATTRIBUTES=RESOURCE IDX userxx

- give th id diskquota if you have them enabled 
DISKQ> ADD IDX /PERMAUOTA=nnnn /OVERDRAFT=yyy

From now on every newly created file will belong to the identifier IDX
(OWNER=IDX). 

The diskquota is charged against IDX and not longer to the user
creating the file. 

Every file gets an additional ACE on top of the list in the form
(IDENTIFIER=userxx,OPTIONS=DEFAULT,ACCESS=READ+WRITE+EXECUTE+DELETE+CONTROL)
VMS does this, so that an user who creates a file always has control access to
it, regardles of the default ACE for the directory.

This setup is commonly called a project direcotry. See para 5.2.5.2 on 
page 5-12 in the Guide to VMS System Security


		Fritz

--------------------------------------------------------------------
|  Wittwer Fritz,  Ascom Tech Ltd,  Freibugstr. 370,  CH-3018 Bern |
|  Switzerland     Phone + 41 31 63 42 85     FAX +41 31 55 52 11  |
--------------------------------------------------------------------
From: DEREK@U.WASHINGTON.EDU
Newsgroups: comp.os.vms
Subject: Re: Looking for Automatic Account Generation Software
Date: 14 Apr 92 20:39:00 GMT
Distribution: world
Organization: The Internet

Paul R. Taylor recently wrote to the net:

>	The State University of New York College at Oswego
>	is going to move over to a system where each student,
>	faculty member, and staff person will be getting an
>	account on all of our systems as soon as they become
>	affiliated with the campus.
> 
>	We are looking into writing the software required to
>	do the automatic creation and deletions of accounts
>	for multiple hardware/software platforms including VMS,
>	and a few different flavors of Unix.  However before
>	starting on this project I thought that it would be a
>	good idea to see if any other institutions out there
>	might have some similar type of program that they would
>	be willing to share with us.
> 
>	Any Help that you could provide would be greatly
>	appreciated. Please send all responses via E-Mail
>	because we seem to loose large portions of some groups.
> 
>	Thanks in advance,
> 
>	Paul

Paul,

I strongly suggest that you, and anyone else interested in this topic, attend
DECUS in Atlanta and attend session ED024 which is to be given on Friday the
8th of May in room "363 - GWCC" from 11:00am to 12:00 noon.  This session
has the titles "Managing 10,00 VMS Users" and "A Networked, Heterogeneous
Accounting and Account Management System".

This session describes a system which "does what you want", although maybe
not exactly the way you want it -- but that can be fixed.  The system was
developed at the University of Washington and is used to manage accounts
for VAX/VMS, VM/CMS, VM/HPO, VM/XA, Dynix (Sequent Un*x), Ultrix, BSD 4.2,
AIX, and I am not sure what else.  A version was also available for NOS,
an operating system for Control Data Corporation Cyber computers.

The system is currently set up to allow all students, faculty, and staff of
the University of Washington to create, on demand, their own account which
allows them to use any of the computing facilities managed by UCS.

Its great stuff, and its easily available.

P.S.
	Yes, it is my session.  :)

-Derek S. Haining
 University Computing Services
 University of Washington
 Seattle, Washington  98195 
 (206) 543-5579

 DEREK@MAX.BITNET
 DEREK@MAX.U.WASHINGTON.EDU

Newsgroups: comp.os.vms
From: yates@wctdpv.gd.com (Jeff Yates (619)547-4726)
Subject: Using non-Decwindows Debugger on Decwindows/Motif Terminal Window
News-Software: VAX/VMS VNEWS 1.41    
Keywords:  VMS
Organization: Computer Sciences Corp. - Technology Management Div.
Date: Wed, 8 Apr 1992 17:26:00 GMT

Does anyone know how to force VMS to use the Non-Decwindows/Motif Debugger 
while being started from a such a terminal window?  I use a VT-1200 which 
is almost as slow as a 1200 baud modem when you're using the multi-window 
Decwindows/Motif Debugger.  To get around this problem, I open a LAT terminal 
window (via the Terminal Manager) and login again.  I'd like to have something 
setup so I can avoid these extra steps.

Thanks for any hints...

                                Jeff Yates
                       Computer Sciences Corporation
                       Technology Management Division
                      Internet Address: "yates@gdwest.gd.com"


Newsgroups: comp.os.vms
From: fredrp@ferrari.nmc.ed.ray.com (Fred Ross-Perry)
Subject: Re: VMS Device Drivers and HLLs
Organization: Equipment Division, Raytheon Company
Distribution: usa
Date: Mon, 6 Apr 92 22:07:47 GMT

Inertia, and perhaps because a device driver template in MACRO is readily
available for you to fill in.  If someone made a C template, along with
rules for how to use it, you might find it gain popularity...


-- 
**********************************************
 Fred Ross-Perry         Raytheon Company
 fredrp@mar.ed.ray.com   Equipment Division
 (508) 440-4481          528 Boston Post Road
Newsgroups: comp.os.vms
Subject: Re: modem and terminals
From: don@zl2tnm.gen.nz (Don Stokes)
Date: 17 Apr 92 07:17:18 GMT
Distribution: world
Organization: The Wolery

gezelter@rlgsc.com writes:
> > mdh@gaya.gp.co.nz (Martin D. Hunt) writes:
> >>and the VAX is taking this to be an attempt to log on. Try turning off the 
> >>message codes on the modem.
> The solution of turing off the message codes is a far superior 
> solution. If a particular application (e.g. DECUS UUCP) requires 
> the result codes to operate correctly, they can be temporarily 
> turned on while the modem is owned by that particular process. 
> Most current generation "smart" modems permit reset of parameters 
> on Power-on/DTR Drop. Thus, when the user releases the modem, the 
> modem will be reset to its default state.

Note that turning off messages will just cause the problem to occur less 
often.  To avoid feedback loops, you should turn off the echo as well.  
Either that, or set the port to /NOTYPEAHEAD if you aren't going to be 
logging in on it.

On a Hayes modem, the command is ATE0.  Remember to save it in the modem's
non-volatile memory.

--
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
From: Roberto@sunsci.cern.ch (Roberto Divia)
Newsgroups: comp.os.vms
Subject: Re: UCX V1.3 problems for incoming FTPs.
Keywords: telnet line mode problem
Date: 13 Apr 92 05:58:10 GMT
Organization: CERN

In article <1992Apr10.142501.7363@sarah.albany.edu>, sysbrc@fafner.albany.edu (Brian Cuttler) writes:
> The image ucx$access_share should be located in both sys$common and
> sys$specific, ucx$startup.com will handle that for you, but if you
> have applied any of the vms patches (cscpat_0903) you may need to
> make sure that the new image is copied to sys$specific (check manually).

I agree with Brian: this might very well be the source of the "privilege
violation" error. We had the same problem, due to the incorrect file
PROTECTION of the sys$specific:[syslib]ucx$access_share.exe.
Be sure the file is:

-- Directory SYS$SPECIFIC:[SYSLIB]

UCX$ACCESS_SHR.EXE                     (RWED,RWED,RE,RE)

When the file is copied from sys$common to sys$specific, often it has
the wrong protection set... And the result is exctely what hs been
described by Lon Gowen.

|   Roberto Divia`      | Love at  first sight  is one of the greatest |
|   =============       | labor-saving devices the world has ever seen |
|  CERN :  European Laboratory for Particle Physics,  1211  Geneva  23 |
|  Switzerland (CH)                                                    |
Newsgroups: comp.os.vms