Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Logicals
@ 1992-12-17 12:26 cfstmpab
  1992-12-17 15:12 ` Logicals Steve McKinty - Sun ICNC
  1992-12-18  6:29 ` Logicals gezelter
  0 siblings, 2 replies; 4+ messages in thread
From: cfstmpab @ 1992-12-17 12:26 UTC (permalink / raw)


Could you tell me, is there a call/or approach to obtain the
text of a logical, a sort of 'lib$get_logical'?

Also we had a problem where we couldn't delete a logical from 
the group table at DCL but on a simple system service call, it
was cleared. 

Andrew Buckle 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Logicals
  1992-12-17 12:26 Logicals cfstmpab
@ 1992-12-17 15:12 ` Steve McKinty - Sun ICNC
  1992-12-18  6:29 ` Logicals gezelter
  1 sibling, 0 replies; 4+ messages in thread
From: Steve McKinty - Sun ICNC @ 1992-12-17 15:12 UTC (permalink / raw)


In article <1992Dec17.122619.14@condor>, cfstmpab@logica.co.uk writes:
> Could you tell me, is there a call/or approach to obtain the
> text of a logical, a sort of 'lib$get_logical'?

LIB$SYS_TRNLNM()

Its a LIB$ interface to the sys$trnlnm 'translate logical name' service

Steve



-- 
Steve McKinty
SUN Microsystems ICNC
38240 Meylan, France
email: smckinty@france.sun.com	   BIX: smckinty


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Logicals
  1992-12-17 12:26 Logicals cfstmpab
  1992-12-17 15:12 ` Logicals Steve McKinty - Sun ICNC
@ 1992-12-18  6:29 ` gezelter
  1992-12-19 12:52   ` Logicals Carl J Lydick
  1 sibling, 1 reply; 4+ messages in thread
From: gezelter @ 1992-12-18  6:29 UTC (permalink / raw)


In article <1992Dec17.122619.14@condor>, cfstmpab@logica.co.uk writes:
> Could you tell me, is there a call/or approach to obtain the
> text of a logical, a sort of 'lib$get_logical'?
> 
> Also we had a problem where we couldn't delete a logical from 
> the group table at DCL but on a simple system service call, it
> was cleared. 
> 
> Andrew Buckle 
-- 
Andrew,
 
The exact services that you are requesting are provided by the 
library routines/system services:
 
        SYS$TRNLNM           Translate Logical Name (get value)
        LIB$DELETE_LOGICAL   Delete Logical Name
        LIB$SET_LOGICAL      Assign value to Logical Name
 
These routines are full described in the online HELP text as well 
as in TFMs. I refer all readers to the grey wall and their 
screens for the gory details.
 
I hope that the above information is helpful. If I can be of 
further assistance, please send me an Email.
 
- 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                                                 |
+--------------------------------------------------------------------------+


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Logicals
  1992-12-18  6:29 ` Logicals gezelter
@ 1992-12-19 12:52   ` Carl J Lydick
  0 siblings, 0 replies; 4+ messages in thread
From: Carl J Lydick @ 1992-12-19 12:52 UTC (permalink / raw)


In article <1992Dec18.012954.288@rlgsc.com>, gezelter@rlgsc.com writes:
=In article <1992Dec17.122619.14@condor>, cfstmpab@logica.co.uk writes:
=> Could you tell me, is there a call/or approach to obtain the
=> text of a logical, a sort of 'lib$get_logical'?
=> 
=> Also we had a problem where we couldn't delete a logical from 
=> the group table at DCL but on a simple system service call, it
=> was cleared. 

You were probably trying to delete the logical at the wrong access mode.
There are three access mode at which the DEASSIGN command can work:
	USER_MODE:  Normally not a problem, because these go away automatically
		at image rundown;
	SUPERVISOR_MODE:  The default access mode;
	EXECUTIVE_MODE:  This is the mode at which the logical name was
		probably defined.  To delete the logical, you need to
		DEASSIGN/EXEC.
--------------------------------------------------------------------------------
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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1992-12-19 12:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-12-17 12:26 Logicals cfstmpab
1992-12-17 15:12 ` Logicals Steve McKinty - Sun ICNC
1992-12-18  6:29 ` Logicals gezelter
1992-12-19 12:52   ` Logicals Carl J Lydick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox