HP3000-L Archives

September 2001, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tom Emerson <[log in to unmask]>
Reply To:
Tom Emerson <[log in to unmask]>
Date:
Tue, 25 Sep 2001 13:37:38 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (113 lines)
On Mon, 24 Sep 2001 16:21:32 -0600, Sorenson, Bob
<[log in to unmask]> wrote:

>Hello Everybody.  I need to force selected file sets to be stored on
partial
>backups regardless of whether or not they have been modified since the last
>full backup date.  Any ideas?  I do have MPEX and have tried several things
>but the modification date is not changed--just the access date.
>
>I'm running MPE/iX 6.5.  I want to do this to update test accounts between
>full backups.

Sorry for jumping into this thread so late, but I was thinking "mpex has an
%MPEXSTORE command" and was wondering if you had MPEX or not -- going back
to your original message, I see that you do...

From the MPEX command prompt:

R:[TOM]/EMERSON/WORK>help store

  1. %MPEXSTORE, MPEX command
  2. Link to MPE's :HELP RESTORE
  3. Link to MPE's :HELP STORE
  4. Link to MPE's :HELP VSTORE
  5. STORED, file attribute variable
Which of the above would you like help on (or CR to exit)? 1

%MPEXSTORE


Syntax:   %MPEXSTORE fileset; storeparms

Examples: %MPEXSTORE @[log in to unmask]@[log in to unmask]@[log in to unmask]@.VESOFT &
                     (ACCDATE<TODAY-90 and NOT ISPRIV);*T;SHOW

The MPE :STORE command can already handle filesets -- however, its filesets
are
not nearly as flexible as MPEX filesets.  In particular:

   * It doesn't have selection criteria such as CODE,SECTORS,CREATOR, etc.
For
     instance, you can't store all the files that haven't been accessed in
90
     days EXCEPT FOR databases -- :STORE can't select by filecode.

The %MPEXSTORE command lets you use the full power of MPEX filesets with MPE
:STORE.  For instance, the command

   %MPEXSTORE @[log in to unmask]@[log in to unmask]@[log in to unmask]@.VESOFT &
                (ACCDATE<TODAY-90 and NOT ISPRIV);*T;SHOW

will store all files that haven't been accessed in 90 days EXCEPT:

   * databases (ISPRIV),

   * files in the SYS account ([log in to unmask]@.SYS), and

   * files in the VESOFT account ([log in to unmask]@.VESOFT).

Of course, all the other fileset features and selection criteria are
available,
too -- you can store all the files created by a particular user, store all
the
files except for files with code PROG and USL (since in the event of failure
they could easily be regenerated), etc.

This command works by doing %LISTF...,FILENAME to write the fully qualified
names of all the files in the fileset to a disc file; then, it uses the disc
file as an indirect file for MPE :STORE.  For large filesets, this means
that
it might take some time for this command to start up (since it has to go
through the entire fileset before doing the :STORE).  Please be patient...
R:[TOM]/EMERSON/WORK>


Basically, the last paragraph spells out what it does, so if you can grok a
single %LISTF command that will cover everything you want, then you can use
this command.  From later messages, however, it sounded like a "single"
listf wouldn't do this -- it sounds like you want:

   @[log in to unmask]@(moddate>!laststoredate)
and
   @[log in to unmask]  <without any qualifier>

Unfortunately, within MPEX the "selection condition" (qualifier) applies to
all "plussed" filesets, so (other than being redundant) the MPEX fileset of

   @[log in to unmask]@[log in to unmask]@(moddate>!laststoredate)

doesn't really do what you want.  IF this were exactly what you wanted,
however, there is another way to do this:

   @[log in to unmask]@(moddate>!laststoredate OR account="TEST")

since this is an "OR" condition, the fact the file is in the "test" account
would allow it to qualify regardless of mod date (with the added bonus that
it would retain the true access/modify dates on the tape)

The next suggestion I have is to break the selections into multiple %
LISTF's as follows:

   %LISTF @[log in to unmask]@(MODDATE>!LASTSTOREDATE),6 >tempset1
   %LISTF @[log in to unmask],6 >tempset2
   %MPEXSTORE ^tempset1+^tempset2;*tape;<other store options>

the mode 6 listf is "just the filename", so this creates two "indirect"
files each with different criteria.  the "^" symbol tells MPEX to use the
contents of the file as a list of files to process, while the "+" indicates
that more than one "indirect" fileset is being used...

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2