RE: SEARCH question

From: Tom Linden (tom_at_kednos.com)
Date: 05/25/04


Date: Tue, 25 May 2004 10:31:02 -0700


  -----Original Message-----
  From: Barry Treahy, Jr. [mailto:Treahy@MMaz.com]
  Sent: Tuesday, May 25, 2004 10:09 AM
  To: Info-VAX@Mvb.Saic.Com
  Subject: Re: SEARCH question
  
  
  Tom Linden wrote:
  
>In my login I have the following
>$ DEFINE/system/nolog HERMES$DISKS DISK$OPENVMS071:,DISK$HERMES_073:
>$ DEFINE/system/nolog NORNS$DISKS DISK$AXPSYS2:,DISK$NORNS_0731:
>$ DEFINE/system/nolog ODIN$DISKS DISK$ALPHA_0712:,DISK$ODIN_0731:
>$ DEFINE/system/nolog FREJA$DISKS DISK$AXPVMS073:,DISK$USR:,DISK$FPLI:
>$ DEFINE/system/nolog SHADOW$DISKS DISK$COMMON:,DISK$PLI:,DISK$DECPLI:
>$ DEFINE/system/nolog ALL$DISKS
>HERMES$DISKS,NORNS$DISKS,ODIN$DISKS,FREJA$DISKS,SHADOW$DISKS
>$ LOCATE:=="SEARCH ALL$DISKS:[000000]DIRECTORY.LIS "
>
>so if I
>
>$ LOCATE <name> it only searches on the HERMES$DISKS
>
>but if
>
>$ dir ALL$DISKS:[000000]DIRECTORY.LIS/version=1
>
>it lists them all.
>
>why? How do I get the search to look at all of them?
>
>
  I'm speculating, but I suspect your problem is with the construct -
  specifically, the directory and filename are not specified at the
  'beginning but rather at the tail of the total search search so while
  SEARCH is running, it is prefixing your current default location with
  the disk drive, searching, not finding anything, and moving down the
  list until the last device which has had the
  
  [000000]DIRECTORY.LIS
  
  
  suffixed. Now why HERMES is showing up rather than DECPLI, well I don't
  know...
  
  Try this, on your LOCATE symbol, change it to :
  
  LOCATE:==SEARCH [000000]DIRECTORY.LIS,ALL$DISKS:
  
  and see if that works...

What that did is to search sys$sysdevice:[000000]directory.lis followed
by HERMES drives.
  
  Barry
  
  --
  
  Barry Treahy, Jr E-mail: Treahy@MMaz.com
  Midwest Microwave Phone: 480/314-1320
  Vice President & CIO FAX: 480/661-7028
                         
  
  
  ---
  Incoming mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.680 / Virus Database: 442 - Release Date: 5/9/2004
  

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.680 / Virus Database: 442 - Release Date: 5/9/2004


Relevant Pages

  • RE: non-system but priviledged account OK for installing layered products?
    ... DECMessageQ was written in PL/I and BEA needed to have the product avaialble ... Incoming mail is certified Virus Free. ... Checked by AVG anti-virus system. ...
    (comp.os.vms)
  • ENC: SED question
    ... Incoming mail is certified Virus Free. ... Checked by AVG anti-virus system. ... Outgoing mail is certified Virus Free. ...
    (SunManagers)
  • RE: New OpenVMS-to-Itanium FAQ
    ... comparison to PL/I ... >Incoming mail is certified Virus Free. ... Outgoing mail is certified Virus Free. ... Checked by AVG anti-virus system. ...
    (comp.os.vms)
  • RE: Do we need a DCL debugger?
    ... >> containing the user written lexical functions, ... >Incoming mail is certified Virus Free. ... Outgoing mail is certified Virus Free. ... Checked by AVG anti-virus system. ...
    (comp.os.vms)
  • RE: A whopping 50 percent... ???
    ... < to make those fewer ticks much slower ticks. ... < Incoming mail is certified Virus Free. ... < Checked by AVG anti-virus system. ... Outgoing mail is certified Virus Free. ...
    (comp.os.vms)