[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| Title: | File Shelving | 
|  | 
| Moderator: | COOKIE::HOLSINGER | 
|  | 
| Created: | Mon Mar 15 1993 | 
| Last Modified: | Thu Jun 05 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 346 | 
| Total number of notes: | 1204 | 
334.0. "/EXCLUDE qualifier on $ UNSHELVE - Wrong interpretion or bug?" by BRSSWS::VERCAMMEN (You never walk alone...) Tue Apr 15 1997 04:06
	Hi,
	I wanted to UNSHELVE all shelved files on a certain disk EXCEPT 
	the files with extension .CPD.
	Therefore I used the command :
EPLZ02 > unshelve/exclude=*.cpd/log/nowait $1$dua141:[000000...]*.*.*
	but it still unshelves *.CPD files, as shown by the following 
	output: 
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC]EPLZ00_VPA.DAT;5 queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC]EPLZ00_VPA.NEW;1 queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC]EPLZ99_VPA.OLD;1 queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC]NODE_CUSTOM.TEMPLATE;4 queued for
unshe
lving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC]QPLZ00_CUSTOM.OLD;1 queued for
unshelvi
ng
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG17.CPD;1
queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG18.CPD;1
queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG19.CPD;1
queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG20.CPD;1
queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG21.CPD;1
queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG22.CPD;1
queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG23.CPD;1
queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG24.CPD;1
queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG25.CPD;1
queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG26.CPD;1
queued for unshelving
%UNSHELVE-S-QUEUED, file $1$DUA141:[PSDC.EPLZ00.CPD]PSDC$EPLZ01_1996AUG27.CPD;1
queued for unshelving
....
	Am I interpreting the /EXCLUDE doc wrong or is there some hidden
	'feature' that shows up?
	Thanks and regards,
	\Jan Vercammen
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 334.1 | problem not reproducable at our site | ATZIS1::KARTNER_M | HOUSTON, we have a problem | Tue Apr 15 1997 07:15 | 19 | 
|  |     Hi! 
    
    This problem doesn't seem to be reproducable:
    (at least at VMS V6.2, HSM V2.1 (BL24) )
    
    VNA03$dir b*.* /shelv
    
    Directory DSA2:[MICHAEL_KARTNER]
    
    BACKUP.TEST;2        Shelved
    BOOK.COM;1           Online
    
    VNA03$unshelve/exclude=b*.* /log/nowait DSA2:[000000...]*.*.*
    %UNSHELVE-W-NOFILES, no files found
    
    What versions are you running ?
    
    								bye
    								Michael
 | 
| 334.2 |  | BRSSWS::VERCAMMEN | You never walk alone... | Tue Apr 15 1997 07:27 | 15 | 
|  | 
	Michael,
	It is reproducable at will when specifying the EXCLUDE
	file specification as *.file-extension (ex *.CPD).
	We are also running OpenVMS VAX V6.2 and HSM V2.1 (BL24).
	Might be a problem in the command parsing...
	Regards,
	\Jan 
 | 
| 334.3 | /exc=*.testr works at our site | ATZIS1::KARTNER_M | HOUSTON, we have a problem | Tue Apr 15 1997 07:57 | 15 | 
|  |     Hi!
    
    Next test!
    
    Directory DISK$USER02:[MICHAEL_KARTNER]
    
    BACKUP.TEST;2        Shelved
    BOOK.COM;1           Online
    
    unshelve/exclude=*.test /log/nowait *.*;*
    %UNSHELVE-W-NOFILES, no files found
    
    								bye
    								Michael
    
 | 
| 334.4 | looks like a bug | COOKIE::HOLSINGER | HSM Engineering, DTN 522-2843 | Thu Apr 17 1997 12:11 | 16 | 
|  | Hello Jan & Michael. 
It appears Jan has uncovered a bug in the /EXCLUDE qualifier processing. 
The problem is that the excluded filespecs are initially sys$parse'd and 
acquire the user's current directory spec. Later, the parsed spec is compared 
against each shelve candidate filespec, when the directory portion may have 
changed. 
This explains both Jan's observations in .0 and Michael's observations in .1. 
I have QAR'd this and it will be fixed in the next release. In the interim, I 
guess you will have to explicitly specify the directory(ies) with the exclude 
qualifier, or set the files /NOSHELVE first. 
Thanks to you both. 
/Paul
 |