Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP OpenVMS Systems

ask the wizard
Content starts here

Search list logical name processing?

» close window

The Question is:

 
I have a logical search list
 
define logical disk1:[root.],disk2:[root.],disk3:[root.]
 
Given a logical path, logical:[directory], I need to work out which physical
 disk the directory is on.  Currently I use a loop and f$trnlnm to return each
 translation in turn and then check for the directory.  Is there an easier way
 to do this using DCL?
 
 
 
 
 


The Answer is :

 
  Your logical name definition is incorrect for a search list logical
  name.  The use of the CONCEALED attribute is required for general
  operation:
 
    $ define/TRANSLATION=CONCEALED -
      logical disk1:[root.],disk2:[root.],disk3:[root.]
 
  From an application, you could use sys$open to ask RMS to fill in the
  various data structures.
 
  From DCL, consider the f$file_attributes lexical DVI itemcode.  You
  will have to specify the directory as "logical:[000000]directory.DIR;1".
 

answer written or last revised on ( 16-NOV-2000 )

» close window

 

** About PDF files: The PDF files on this Web site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software installed on your system, you may download it from Adobe's Web site
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.