• Subject: Re: 8mm tape
  • From: "R. Bruce Hoffman, Jr." <rbruceh@xxxxxxx>
  • Date: Fri, 05 Mar 1999 10:39:01 -0500

Dennis Munro wrote:
> 
> the system and having to go in just to change the tape, I would like to be
> able to determine when the tape is getting "close" to full or what
> percentage of full it is.

Well, I haven't done this particular code (so no stew slap'n here)
but...

Two ways come to mind.  One is to output the save information to an
output file during the save.  On the member option specify *ADD instead
of *REPLACE.  Add up the column for offline bytes.  Find out what your
shortest tape is, leave yourself some room and send yourself a message
or e-mail when the selected "threshold" is exceeded.

The second way involves the use of the MSE.  Media Storage Extensions. 
If this is installed on your system (GO LICPGM, SS1, I forget the
option.) then you can code an exit program to receive the labels when
the tape is closed.  Add up the blocks used, multiply by block size,
total and store somewhere (like a data area or something).  Finish with
the logic in option one for threshold and notification.

b.

-- 
===========================================================
R. Bruce Hoffman, Jr. -- IBM Certified AS/400 Administrator

-- The sum of all human knowledge is a fixed constant.
    It's the population that keeps growing!
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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].