From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,bd4330eaa1f685a6 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,bd4330eaa1f685a6 X-Google-Attributes: gid1164f8,public From: ddellutr@MCS.COM (Dale Dellutri) Subject: Re: "NOPE" resurrected. Displays PURGE info, without DOING the purge... Date: 1997/05/10 Message-ID: <5l28p1$110$1@Mars.mcs.net>#1/1 X-Deja-AN: 240624270 References: <1997May9.152046.1@cpg.mcw.edu> Organization: Dale at MCSNet Newsgroups: comp.os.vms,comp.sys.dec In comp.os.vms Kent C Brodie wrote: > I recently resurrected the "NOPE" utility. A cute, but VERY handy > system manager tool. Basically, it displays files that _WOULD_ be purged > *IF* you did a purge (and it lets you use wild cards, filespecs, etc). Won't this (not completely tested) com file do what you want? So for example, you could say @NOPE *.* "" "/col=1/nohea/notra" and get a listing (in NOPE.LIS) of all the files in a single column format without header or trailer. $! NOPE.COM - Display files that would be purged if you did $! a PURGE/LOG, but do not delete files $! Dale Dellutri 1997-05-10 $ say = "WRITE SYS$OUTPUT" $ if p1 .eqs. "" $ then $ say "Usage:" $ say " @NOPE " $ say " P1 = filespec (must not contain version number)" $ say " P2 = name of listing file (default is NOPE.LIS)" $ say " P3 = qualifiers for DIR command (do not use /LOG)" $ exit %X10000002 $ endif $ if p2 .eqs. "" $ then $ assign NOPE.LIS sys$output $ else $ assign 'p2' sys$output $ endif $ i = 1 $dir_loop: $ dir'p3' 'p1';-'i' $ if $status .ne. %X00000001 then goto done $ i = i + 1 $ goto dir_loop $done: $ deassign sys$output $ exit -- Dale Dellutri