× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: TAP Statistics
  • From: "Billy Rowe" <billyrowe@xxxxxxx>
  • Date: Wed, 6 Sep 2000 10:27:47 -0700
  • Importance: Normal

There is a tool in the QUSRTOOL library that is on V4R4(maybe prv rls also)
called READTAPE that might do what you are looking for.

Excerpt from READTAPE document in QUSRTOOL/QATTINFO.TTAINFO:


The READTAPE tool provides a method for determining the amount of data
written on a tape volume.

The READTAPE command reads all of the data sets on a tape volume.  It
reports the number of bytes and blocks in each data set.  It also
computes the average block size which can be used to determine
compression ratios on a tape containing compressed Save/Restore data.
The block size used is dependant on the device and release of
the AS/400 system.

After all of the data sets have been read from the tape volume, overall
statistics for the data read are reported to the user.


For example, say a 1/2-inch reel tape volume contains 2400 feet of tape
It is initialized to a density of 6250 bits per inch.  On it resides a
single data set created by the SAVLIB CL command.  The data set is 100
blocks in length, for a total of 1105920 bytes of data.  The average
block length is 11059 bytes.  Assume interblock gaps are 1/2 inch in
length.



> -----Original Message-----
> From: owner-midrange-l@midrange.com
> [mailto:owner-midrange-l@midrange.com]On Behalf Of MacWheel99@aol.com
> Sent: Tuesday, September 05, 2000 12:52 PM
> To: AS400 & family discussion group
> Subject: TAP Statistics
>
>
> We use some tapes for end fiscal off load random volumes of
> old traffic
> off_line, in which it is not predictable what the size of the
> old files will
> be ... example our ERP keeps inventory transactions that are
> X months old &
> the items with no recent activity keeps last Y transactions,
> so with steady
> business the off loading is even volumes of transactions, but with
> fluctuating customer base, the off-loads can vary greatly.
>
> We would like to maximize what goes on one tape without the hassle of
> multi-volume.
>
> Is there an easy way in DSPTAP DMPTAP etc. to total up sizes
> of files there &
> get a human intelligible figure like .... 30 files totalling
> 2 Gig ... 1/2
> gig left on this tape?
>
> I find myself at adding machine multiplying # records times
> byte sectors to
> get total consumption of each file, then adding up each total
> to get total
> tape consumed.  There's gotta be a better way.
>
> Al Macintyre  ©¿©
> MIS Manager Green Screen Programmer & Computer Janitor of
> BPCS 405 CD Rel-02
> running on AS/400 V4R3 http://www.cen-elec.com Central Industries of
> Indiana--->Quality manufacturer of wire harnesses and electrical
> sub-assemblies
> +---
> | 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 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 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.