|
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 +---
As an Amazon Associate we earn from qualifying purchases.
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.