I guess I will try it with the data area. I found an API to get the
information as well.

On Thu, May 31, 2012 at 2:17 PM, <rob@xxxxxxxxx> wrote:

... and when do you record next number? For example, first night you use
'T01'. Second night you use 'T02'. Backup blows up. Do you reuse T02
the next night? Possible data area format
Tape Volume 1-6
Backup start timestamp
Backup end timestamp
Did backup complete? Granted, if you have a backup end timestamp...
Backup job name
backup job user
backup job number



Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: rob@xxxxxxxxx
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 05/31/2012 02:08 PM
Subject: Re: TAPVRT01 and image catalogs ?
Sent by: midrange-l-bounces@xxxxxxxxxxxx



BRMS? I've used it with Virtual.

Perhaps you're still thinking sequential and not random. If you start
thinking random what's to stop you from

/* Calculate day of week, and week of year via easy to use SQL functions
*/
/* Translate above to MONW01, MONW02, TUEW01, TUEW02 and so on... */
SAVLIB LIB(MYLIB) DEV(TAPVRT01) VOL(&TapeVol)
Don't like that? Perhaps of concerns about 53 week years? (Let's not go
down that tangent.) Then store last used into a data area and increment
it during the next save. Maybe even store some extra stuff in the data
area like date/time it was last backed up.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Jack Kingsley <iseriesflorida@xxxxxxxxx>
To: Midrange Systems Technical Discussion <MIDRANGE-L@xxxxxxxxxxxx>,
Date: 05/31/2012 01:51 PM
Subject: TAPVRT01 and image catalogs ?
Sent by: midrange-l-bounces@xxxxxxxxxxxx



I have been running some tests with this for backups, seems to work pretty
good. I have hit a couple of problems.

I have 14 indexes defined to basically depict 2 weeks worth of tape
volumes.

let(s) say last night I wrote to index 5, I have a job scheduler job to
flip it to the next one prior to the next backup.

but yesterday someone looked a index 2, when done the image catalog
remained at #2 and then well #3 got used to do the backup instead of the
next one that should have been used.

sooo....

I don't see a rtvimgclge command, is there a way to get index and other
values via an API.
Is there a way to control that if the currently mounted index is changed
it
will revert back to the orginal one I was using(I don't think so). It
seems if I am going to use mulltiple indexes in a round robin approach
then
I am going to have to somehow keep track what was the last one I used.

Looking for ideas to keep the 14 day cycle in sync.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.