HDTenEightyP/NetNews huggingface dataset:
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.os.vms
Subject: Re: EDT to EVE command translation problem
Date: 19 Dec 1992 12:26:39 GMT
Organization: HST Wide Field/Planetary Camera
Distribution: world
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <1992Dec17.175504.1@ulys.unil.ch>, adufour@ulys.unil.ch writes:
>I read a few days ago the Info-Vax monthly Posted - Part 3 - 'SIG,
>I was really interested in getting the file I reply to in my editor, with
>the cute little ">" at the beginning of each old line.
>So I tried it, and it seems to work... but:
>
>I was using the EVE/TPU editor, and I like it, so I would like to know 
>the translation of this EDT command in an EVE Command that I could put in
>an EVE init file.

Define the following procedure, either by compiling it and SAVEing your section
file, or by putting it in your TPU$COMMAND file:

PROCEDURE ENCLOSURE
	LOCAL X;
	ON_ERROR
		POSITION(X);
		MOVE_HORIZONTAL(-1);
	      	RETURN;
	ENDON_ERROR;
	X := MARK(NONE);
	OUTFILE := GET_INFO(COMMAND_LINE, "OUTPUT_FILE");
	IF (SUBSTR(OUTFILE, 1, 17) = "SYS$SCRATCH:MAIL_") AND
		(SUBSTR(OUTFILE, 26, 9) = "_SEND.TMP") AND
		LENGTH(OUTFILE) = 34) THEN
		LOOP	IF LENGTH(CURRENT_LINE) > 0 THEN
				COPY_TEXT(" > ");
			ELSE
				MOVE_HORIZONTAL(1);
			ENDIF;
			POSITION(SEARCH(LINE_BEGIN,FORWARD));
		ENDLOOP;
	ENDIF;
ENDPROCEDURE;

Then put the command:

ENCLOSURE

in your TPU$COMMAND file.
--------------------------------------------------------------------------------
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.
From: STU011649835@WSC.COLORADO.EDU : The Macintosh Lab Manager : VIE Systems Operator : WSCMRT SysOp : Mountain Rescue) (Chris Kennedy : Liqu
Newsgroups: comp.os.vms
Subject: Time manipulation (comparasion of : hour,minute,second)
Date: 20 Dec 92 23:59:17 GMT
Distribution: world
Organization: The Internet


Hello to all-

	i am writing a program (DCL) that upon execution writes time/day
to a file. This works. Next I am trying to write another program which
reads the file and takes the first time entry and compares( finds difference)
with the next one. This is repeated until the end of the file.
I.E. time card program. The output (total time comparison) is placed
to file2 to be typed/printed out.
	My problem is figuring out how to compare 2 time values and find the
difference. I do not have access to the manuals ( if I did I would not know
where to start). The online help dosen't provide much help. If you
(anyone) have any sample programs, or anything else that might be of help,
PLEASE send..... Fortran, Pascal, Basic, C and DCl are all ok, but prefer
DCL programs. Thank you all.
	Send any replies to stu011649835@wsc.colorado.edu , or
org_mrt@wsc.colorado.edu  . I am not subscribed to INFO-VAX.

BTW : Merry Christmas, and have a happy new year...........


Chris Kennedy  
STU011649835@wsc.colorado.edu
ORG_MRT@wsc.colorado.edu
Voice : (303) 641-5534

Newsgroups: comp.os.vms
From: twpierce@unix.amherst.edu (Tim Pierce)
Subject: Re: What should be in login.com?
Organization: Elitist Usenet Administrators, Turkey Division
Date: Sun, 20 Dec 1992 05:01:42 GMT

In article <1992Dec18.230714.19508@chpc.utexas.edu> michael@chpc.utexas.edu (Michael Lemke) writes:

>In article <1992Dec18.105507.7408@cronkite.ocis.temple.edu> linnoise@bigboy (LN) writes:
>
>>Anything you want.  I have mine set up logicals and symbols to access dirs
>>that have very long names, prompt me for various things like enabling OPCOM
>>(check for interactive mode before prompting!), setting up mail to use EVE,
>                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
>Why do you do this in LOGIN.COM?  SET EDITOR TPU in *MAIL* exactly once 
>is all you need.  It is remembered "for ever".

Unless you want to use customized section files or the like.  The only
way I've found to do this (to enable quoting, signature files, and the
like) is with the logical MAIL$EDIT.

-- 
____ Tim Pierce                / 
\  / twpierce@unix.amherst.edu /               Rocks say goodbye.
 \/ (BITnet: TWPIERCE@AMHERST) /
From: viznyuk@ohstpy.mps.ohio-state.edu
Newsgroups: comp.os.vms
Subject: How to make mailbox look like a real terminal ?
Date: 12 Dec 92 18:53:22 EST
Organization: Midwest Rat's Hole

Hi everybody !
I have a rather fundamental question:

In a program I have created a mailbox
and then I'm using it as a SYS$INPUT
for a subprocess created by LIB$SPAWN,
while retaining SYS$OUTPUT as terminal:

  ....
static	short tt = 0;
static	short ch = 0;
$DESCRIPTOR(TT,"SYS$INPUT");
$DESCRIPTOR(MB,"MAILBOX");
short iosb[4];
unsigned flag = CLI$M_NOWAIT;
  ....
SYS$ASSIGN(&TT,&tt,0,0,0); 
SYS$CREMBX(0,&ch,0,0,0,0,&MB,0);
LIB$SPAWN(0,&MB,0,&flag,0,0,0,0,0,0,0,0,0);
 ....

Well, the problem is that
the subprocess which in this case
runs a DCL doesn't see the mailbox
as a "real" terminal. And so do other
utilities which I'm trying to run
in that subprocess. E.g. editor
kicks me out with "SYS$INPUT must be supported by CRT".
(What the hell is that CRT, btw ?)
The DCL, MAIL, etc don't respond with their
usual prompts (or maybe their prompts are being
re-directed elsewhere, and not to SYS$OUTPUT ?), etc.

So is there any way to make mailbox look like a real terminal ?
would strongly appreciate any constructive suggestions
Thanks,
S.V.
From: leichter@lrw.com (Jerry Leichter)
Newsgroups: comp.os.vms
Subject: re: Looking for advice on tracking down a system crash
Date: 18 Dec 92 11:58:11 GMT
Distribution: world
Organization: The Internet


	I have a system running VMS 5.4.  We have batch jobs that run one
	process per job that control communications cards.  The software was
	recently upgraded from VMS 4.7 to 5.4.  We have seen a few ramdom
	non-reproducible system crashes recently.  Every system crash is due
	to the same executable.  Each bugcheck is a Machine check while in
	kernal mode.  I am looking for advice on how to track this down.  I
	have saved the system dump files but not knowing how to read them puts
	me at a disadvantage.  I have suggested adding a set process/dump
	before the executable is run so that is in place now but we have not
	had a crash yet.

	Using debug is out of the question since the device the executable
	controls is realtime.  Would compiling with debug but not linking with
	debug also help?  I am looking for any help I can get since I am
	experienced at debugging but not real-time devices or those that cause
	system crashes!

SET PROCESS/DUMP, DEBUG, and such will not help; a machine check will yank the
machine out from under them.  However, even if it didn't, they are beside the
point:  They are user-mode debugging utilities, and we are talking about a
kernel-mode problem.

A machine check usually means just that:  A hardware problem.  Given the
symptom of a machine check, my guess as to the cause is:

	99%	Hardware flakey.
	<1%	Privileged code problem "faking" a machine check.
	<1%	VMS bug.

Those "<1%" are actually MUCH less than 1% - in fact, I've never seen this
happen.  While bugs in privileged code and in VMS certainly cause crashes,
it takes some doing to simluate a machine check.

Have you checked the systems error logs?  A real-time process is presumably
making heavy use of one or more I/O devices - look particularly at the state
of health of those devices.
							-- Jerry
From: FINLEY@NKUVAX.BITNET (Kevin Finley)
Newsgroups: comp.os.vms
Subject: Re: tar for vms
Date: 11 Dec 92 17:45:57 GMT
Organization: The Internet


I have enclosed the source I have for tar.  Please let me know if you did not re
   ceive these.

Kevin Finley
finley@nkuvax.bitnet
Newsgroups: comp.os.vms
Subject: RE: How to get files in SYSLOST back to right place
From: Rollo.Ross@levels.unisa.edu.au
Date: 11 Dec 92 11:54:06 +1030
Distribution: world
Organization: University of South Australia

	A little while ago, there was a discussion here about how to handle 
user files in [SYSLOST]. I've got a somewhat more delicate problem; critical 
system files in [SYSLOST]:

> $ dir/file/own
>
> Directory SAIT$DISK:[SYSLOST]
>
> 000000.DIR;1         (4,4,2)              [SYSTEM]
> BACKUP.SYS;1         (8,8,2)              [SYSTEM]
> BADBLK.SYS;1         (3,3,2)              [SYSTEM]
> BADLOG.SYS;1         (9,9,2)              [SYSTEM]
> BITMAP.SYS;1         (2,2,2)              [SYSTEM]
> CONTIN.SYS;1         (7,7,2)              [SYSTEM]
> CORIMG.SYS;1         (5,5,2)              [SYSTEM]
> INDEXF.SYS;1         (1,1,2)              [SYSTEM]
> VOLSET.SYS;1         (6,6,2)              [SYSTEM]
 
	(Note that they are on the second member of a volume set). This 
problem came about as a result of an RA81 going sick, leading to:

> Error reading directory [000000]
> Forced error flagged in last sector read

	The same files (with the same file-ID) appear in [000000] for that 
disk. This situation has continued through an image backup and restore. 
Is it safe to SET FILE/REMOVE the entries in [SYSLOST], or should I 
leave well alone?

                                    Rollo Ross, Network Manager (CLW campuses)

Computer Centre,  University of South Australia, The Levels, SA 5095, Australia
Ph +61 8 302 3158 Fax 302 3385 DTE 505282622004  Rollo.Ross@Levels.UniSA.Edu.Au
Newsgroups: comp.os.vms
From: mr804331@cs.nthu.edu.tw (L.C. Lin)
Subject: Re: C programming question under VMS
Organization: National Tsing Hua University (HsinChu)
Date: Sat, 12 Dec 1992 11:15:26 GMT

I just have a quick look at your messsage, what you want is to
 perserve the old content and can append the new content, so you
 can try the directive 
   "a"    or
   "a+"

Will work !
    L.C. Lin
From: gezelter@rlgsc.com
Newsgroups: comp.os.vms
Subject: Re: $QIO: What happens within?
Date: 15 Dec 92 10:07:01 EST
Distribution: na
Organization: Robert Gezelter Software Consultant, Flushing, NY

In article <1992Dec14.164552.28939@bnlux1.bnl.gov>, kushmer@bnlux1.bnl.gov (christopher kushmerick) writes:
> ...
> 2) The data in my case is updated by ast-level interrupt routines. What if
> the updating routine is executing when the $qio is ready to start shipping the 
> data. Will the qio interrupt the ast routine to ship the data? Does it
> matter if the qio was called at AST level or at "normal" level? Is it possible
> that the data will be corrupt due to incomplete updating of the data?
> 
> Perhaps a milbox is a bad example because it is all memory. what if I was 
> sending large amounts of data down a slow serial line, using local 
> variables in a stack-frame language like pascal.
> -- 
> Chris Kushmerick
> kushmer@bnlux1.bnl.gov
-- 
Chris,
 
My apologies for missing a paragraph!
 
AST execution in USER mode has absolutely no impact on QIO 
processing. AST "mode" is merely an alternative process thread. 
All processor dispatching is done the same for processes in AST 
state as for process in normal state. All IO processing in VMS is 
performed in KERNEL mode.
 
I hope that this information is helpful. If I can be of 
assistance, please feel free to contact me via Email or phone.
 
- Bob
+--------------------------------------------------------------------------+
| Robert "Bob" Gezelter                       E-Mail:  gezelter@rlgsc.com  |
| Robert Gezelter Software Consultant         Voice:   +1 718 463 1079     |
| 35-20 167th Street, Suite 215               Fax:       (on Request)      |
| Flushing, New York  11358-1731                                           |
| United States of America                                                 |
+--------------------------------------------------------------------------+
Xref: sparky comp.os.vms:19235 vmsnet.uucp:858
From: sbrant@npal.rn.com
Newsgroups: comp.os.vms,vmsnet.uucp
Subject: Decnet Mail help please
Date: 14 Dec 92 09:59:34 EDT
Organization: PalNet -- Indianapolis, Indiana

-- 

                                                     Steven B. Brant
________________________________________________________________________
       -->> sbrant@npal.rn.com <<--[ or ] -->> nstar!towers!npal!sbrant <<--
From: hornlo@OKRA.MILLSAPS.EDU (Larry Horn)
Newsgroups: comp.os.vms
Subject: Re: problem with DCL program
Date: 20 Dec 92 21:27:38 GMT
Distribution: world
Organization: The Internet


#>>The recommended way out of this is to:
#>>	$ DIRECTORY :== DIRECTORY
[...]
#> after the command procedure has completed.  A better way is to define local
#> 	$ DIRECTORY := DIRECTORY
[...]
#   A better way might be to force VMS to interrupt the command correctly
#   by repeating the last letter of the command a few times each time it is
#   used.
#
#            EG.  $ typeee text.txt

Personal opinion only, but I really "hate" that last solution (maybe because
I first saw it in WordPerfect's command files <grin>).  What happens when (if?)
DCL actually starts looking beyond 4 characters (e.g., "TYPEe" would be an
error)?

Isn't the SET SYMBOL/SCOPE=(...) the "recommended" solution?

- ---------------------------------- signed: 20-DEC-1992 15:25 C*T (USA) --- -
    Larry Horn / Millsaps College / Jackson, MS / hornlo@okra.millsaps.edu
- -------------------------------------------------------------------------- -
From: DEREK@U.WASHINGTON.EDU
Newsgroups: comp.os.vms
Subject: Re: Q: SET DEFAULT and logicals
Date: 14 Dec 92 20:28:00 GMT
Distribution: world
Organization: The Internet

In article <1992Dec11.123536.1@vxdesy.desy.de>, pawlak@vxdesy.desy.de writes:
> A user came to me today complaining about a DCL problem, which can be
> summarized by the following command sequence:
>
> $ SHOW DEFAULT
>   DUA1:[USER]
> $ DEFINE DIR1 DUA0:[ARCHIVE]
> $ DEFINE DIR2 DIR1
> $ SET DEFAULT DIR2
> $ SHOW DEFAULT
>   DUA1:[ARCHIVE]
> %DCL-I-INVDEF, DUA1:[ARCHIVE] does not exist
> $ SET DEFAULT DIR1
> $ SHOW DEFAULT
>   DUA0:[ARCHIVE]
	....

Well, this bug has existed in VMS as long as I can remember, and I know that
it was SPRed at LEAST once.  (I SPRed it.)  The problem stems from the code
which decides which PARTs of the default to change.  Basically, an attempt
is made to translate the input parameter as a logical name.  If the resulting
string contains a colon, then SYS$DISK is changed.  If not, SYS$DISK is NOT
changed.  Expansion continues until the directory path name is resolved.

I run across this bug every now and then because I use the ASSIGN command
rather than the DEFINE command.  (And if you don't know what the effective
difference is, check out my article on the subject from, say, four years
ago.  :) )

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

 DEREK@MAX.BITNET
 DEREK@MAX.U.WASHINGTON.EDU
From: mvbr@se.alcbel.be (Marc Verbruggen)
Newsgroups: comp.os.vms
Subject: Unable to create DECterm
Date: 11 Dec 92 07:49:57 GMT
Reply-To: mvbr@se.alcbel.be
Organization: Alcatel Bell Telephone


--
I want to create a DECterm on a system and display it on my workstation. On the
system I execute the command CREATE/TERM/DETACHED/DISPLAY=workst::0/...
It takes about a minute before I get the error message :
    %SYSTEM-F-NOLOGNAM, no logical name match
The ommission of /DETACHED does not influence the error
It used to work before, everything is OK with security, because I can do
$ SET DISPLAY/CREATE/NODE=workst
$ RUN SYS$SYSTEM:DECW$CLOCK

Anyone an idea ?

-----------------------------------------------------------
Marc Verbruggen                 tel : 03.240.94.19
Alcatel Bell Telephone          fax : 03.240.99.50
F. Wellesplein 1                email : mvbr@se.alcbel.be
B-2018 Antwerp
Belgium
 
"System Manager's Headaches Are Not Cured With Aspirin,
 There Is A Better Way ..."
Newsgroups: comp.os.vms
From: 92636828s@csghsg5a.bitnet
Newsgroups: comp.os.vms
Subject: What should be in login.com?
Date: 16 Dec 92 10:40:50 GMT
Organization: University of St.Gallen, Switzerland

What should be included in login.com besides shortcuts for 
Transferprotocols (ZModem etc.) ?
-- 
\_\_               \_\_          The world's biggest Rush fan
  \_\_               \_\_
    \_\_               \_\_           David-Michael Lincke
      \_\_               \_\_      Hochschule St. Gallen HSG
        \_\_               \_\_
       	 \_\_\_\_\_\_\_\_    \_\_  email: 92636828@csghsg5a.bitnet
Newsgroups: comp.os.vms
From: billb@crpmks.uucp (Bill Bochnik (Info Systems))
Subject: Re: HELP!!! Security problem for gurus.
Reply-To: billb@crpmks.UUCP (Bill Bochnik (Info Systems))
Organization: Ciba-Geigy Corporation
Date: Fri, 18 Dec 1992 12:41:24 GMT

In article <1992Dec16.114913.1@ttd.teradyne.com> rice@ttd.teradyne.com writes:
>
> In article <B1FB21FFA27F004AEF@imimnvx.irfmn.mnegri.it>, PSI%ITAPAC.22800002::PITCLS::ADRIANO@imimnvx.irfmn.mnegri.it (Adriano Santoni) writes:
>>
>>	Hi netters!
>>
>>	I need to avoid certain people to scan a directory of mine. This
>>	could seem a very trivial issue, if it was not for the following:
>>
>>	o  Some users of mine have (and need to retain) *ALL* privileges
>>
>>	o  I don't want to clear the DIRECTORY file characteristic bit
>>
>>	o  I don't want to do encrypting or any other tricky thing
>>
>>	o  I want to be able to access my directory whenever I need to
>>
>>	In other words: do you know of a feasible method of protecting
>>	private areas without resorting to the traditional & documented
>>	practics? Impossible? That's what I fear! Sigh!
>>
>
>Have you heard of ACLs (Access Control Lists) ? An access control list can
>protect directories as well as files.
>
>   John Rice        K9IJ     |  "Did I say that ?" I must have, but It was
>                             |   MY opinion only, no one else's...Especially
>                             |   Not my Employer's....
>   rice@ttd.teradyne.com     |   Purveyor of Miracles,Magic and Sleight-of-hand


Please re-read the original post.  ACL's will NOT protect you from users with 
all privs (BYPASS for one comes to mind)


-- 
Bill Bochnik			| It's hard to be a James Bond in an Abbott
Systems Analyst 		|	and Costello world.
Ciba-Geigy Corporation		| Signed and sealed, they deliver oblivion.
philabs!crpmks!billb		| It's worse than that, he's dead Jim.
Newsgroups: comp.os.vms
Subject: Re: EDT help, Please?
From: erkamp@janus (Bob Erkamp)
Date: 18 Dec 92 10:14:42 MDT
Reply-To: erkamp@janus
Organization: Alberta Research Council

In article <1992Dec14.154128.3083@newstand.syr.edu>, wethater@rodan.acs.syr.edu (William E. Thater) writes:
>	A question for all the EDT experts out there. I'm posting this for
>a friend of mine who is on a VAX that offers only the EDT editor. [Trust
>me you DON'T want to know.] She would like to be able to quote mail
>messages automaticly, or at least with one key binding, instead of having
>to put a '>' in front of each line manualy. 
>	Is there any way to do this with the eedtini.edt file. [like
>define GOLD-V "do blah']. Or some other way to do this with the EDT
>editor, like what I can do with TPU.

Yes...here is my EDTINI.EDT file:

>----------BEND FOLD MUTILATE HERE----------<
DEFINE KEY CONTROL G AS 'BR10000(" "D+C-2C)ER.'
DEFINE KEY GOLD 15 AS 'SHL.'
DEFINE KEY GOLD 14 AS 'SHR.'
SET TRUNCATE
SET WRAP 80
SET MODE CHANGE
>----------BEND FOLD MUTILATE HERE----------<

The CONTROL G key deletes trailing spaces
GOLD 15 is the left arrow and shifts the screen 1 tab position left
GOLD 16  "     right  "                                        right

Somewhere in the EDT manual it describes all these commands (DEFINE KEY?)

Bob
Xref: sparky comp.os.vms:19249 vmsnet.misc:1065
From: gjc@mitech.com (George J. Carrette)
Newsgroups: comp.os.vms,vmsnet.misc
Subject: Re: Digital Review's INTERNAL MAIL ADDRESS
Date: 14 Dec 92 15:51:03 GMT
Organization: Mitech Corporation, Concord MA

In article <1992Dec14.101826.14719@dxcern.cern.ch>, michelotto@vaxfpd.pd.infn.it (Michele Michelotto) writes:
>... the e-mail address of Digital Review's?

Digital News and Review (DNR-DOM)
   275 Washington Street
   Newton, MA 02158

   Domain Name: DNR.COM

   Administrative Contact:
      Fegreus, Jack  (JF145)  jack@DNR.COM
      (617) 558-4305
   Technical Contact, Zone Contact:
      Sylvester, Tim  (TS199)  tims@DNR.COM
      (617) 558-4544

   Record last updated on 09-Nov-92.
From: POLLOCK.STEVEN_L+@KANSAS-CITY.VA.GOV
Newsgroups: comp.os.vms
Subject: desperately seeking compression
Date: 12 Dec 92 20:19:00 GMT
Distribution: world
Organization: The Internet


Am looking for the C sources for a fast, lossless, public domain, binary
compression/decompression utility for VMS files.  I need the source for
maintainability, could you send it in a response as we don't have ftp access
available at this time.

Many Thanks,

|>>>>>>>>>>>>>>>>>>>>>>>>>>>>||<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<|
|Steven Pollock              || Internet:  xxx@kansas-city.va.gov           |
|VA Medical Center, IRM      || COM: 816-861-4700 x3750                     |
|4801 Linwood Blvd.          || FTS: 700-754-1750                           |
|Kansas City, Missouri 64128 || Fax: 816-861-8736 .or. FTS: 700-754-1828    |
|>>>>>>>>>>>>>>>>>>>>>>>>>>>>||<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<|
From: HAMDY@SHEBIN.EG
Newsgroups: comp.os.vms
Subject: please,I want solve the problem with RDO...
Date: 13 Dec 92 10:24:00 GMT
Distribution: world
Organization: The Internet

Hello info-vax...
Please, when I try to define database file on RDO>
RDO>define database <filename>.
Now, appear to me these message in the following......
I'll be glad If anyone solve this problem or the message error.

%%%%%%%%%%OPCOM 13-DEC-1992 10:44:28 %%%%%%%%%%%%%%%%%%
Message from user HAMDY
%license-E-NOAUTH, DEC cdd-plus use is not authorized on this node
-license-f-nolicense, noi license is active for this software prodeuct
-License-I-sysmgr, please see your system manager


%RDO-F-cdderr,error occurred during CDD signin, CDD will not be used
-CDD-F-NOMSG, Message number 002bed2c
-license-f-nolicense,no license is active for this software product

any ideas?
I'll be happy to solve these problem..
Entermail:HAMDY@SHEBIN.EG

Newsgroups: comp.os.vms
From: gvrod@isuvax.iastate.edu (R Eldridge, VMS FOREVER)
Subject: Re: Splitting a user disk
Reply-To: gvrod@isuvax.iastate.edu
Organization: Iowa State University, Ames, Iowa
Date: Mon, 14 Dec 1992 22:17:17 GMT

connelly@iscsvax.uni.edu (Ken Connelly) writes:
>I have a series of DEFINE statements in SYLOGICALS.COM like the following:
>
>$ DEFINE/SYSTEM/EXEC/TRANSLATION=(CONC,TERM) STUDISK      MOE$DUB0:
>
>and I've told my users to use logical name and not the physical device name
>in command procedures, etc., because the physical device *will* change from
>time to time.
>
> [...]
>
>  For my convenience:
>
>    $ DEFINE/SYSTEM/EXEC/TRANSLATION=(CONC,TERM) STU1      MOE$DUB1:
>    $ DEFINE/SYSTEM/EXEC/TRANSLATION=(CONC,TERM) STU2      MOE$DUB2:
>
>  The default device in SYSUAF will be STU1 or STU2.
>
>  And to maintain the current logical STUDISK:
>
>    $ DEFINE/SYSTEM/EXEC/TRANSLATION=(CONC,TERM) STUDISK   MOE$DUB1:,MOE$DUB2:
>
>This *appears* to work, i.e., [...]
>
>Is there anything obvious that I'm missing?  Or worse, anything insidious? 
>Or is there a better way?
>

if STUDISK is used as a read-only logical, the above will work. however,
writting to a logical search list will to write to the *first*
translation of the logical (i.e. MOE$DUB1). if a student is on disk
MOE$DUB2, but he/she is running a command procedure that uses STUDISK as
output, the command procedure will fail because it will attempt to write
to MOE$DUB1 and this student only has his/her diskquotas and directory
on MOE$DUB2.
___
rod eldridge
vms systems support      | gvrod@isuvax.iastate.edu
iowa state university    | gvrod@isuvax.bitnet
Newsgroups: comp.os.vms