RE: SEARCH question
From: Tom Linden (tom_at_kednos.com)
Date: 05/25/04
- Next message: Hans Vlems: "Re: Dave Cutler and VMS"
- Previous message: mrtravelkay: "Re: Michael Voight of Cisco forging messages again"
- Maybe in reply to: Tom Linden: "SEARCH question"
- Next in thread: Barry Treahy, Jr.: "Re: SEARCH question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Hans Vlems: "Re: Dave Cutler and VMS"
- Previous message: mrtravelkay: "Re: Michael Voight of Cisco forging messages again"
- Maybe in reply to: Tom Linden: "SEARCH question"
- Next in thread: Barry Treahy, Jr.: "Re: SEARCH question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|