Hi,

It should be blksize * blkcount.

Remember that the maximum blksize on dasd is 27998, but on tape can be 64K and 
even larger. This can mean the files will have to be reblocked when copying to 
dasd.

gadi

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Lizette Koehler
Sent: Sunday, May 02, 2010 3:47 PM
To: IBM-MAIN@bama.ua.edu
Subject: Calculate Tape Bytes to Tracks

I have a project to review all the virtual tapes in the VTS and see which
tape datasets could go on dasd.

I am using CA1 to get the LRECL, BLKSIZE and BLKCNT to determine how many
bytes are on the tape.  Then dividing that by the number of bytes per track
to get a rough estimate.

Is there a better way of doing this?  I have over 100,000 tapes to review
and I am trying to make sure I have a good process.

Or is there a different formula I should be using other than
     bytes = lrecl * blksize * blkcnt                (and if blkcnt = 0 I
set blkcnt = 1)

Lizette

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

לשימת לבך, בהתאם לנהלי החברה וזכויות החתימה בה, כל הצעה, התחייבות או מצג מטעם 
החברה, מחייבים מסמך נפרד וחתום על ידי מורשי החתימה של החברה, הנושא את לוגו 
החברה או שמה המודפס ובצירוף חותמת החברה. בהעדר מסמך כאמור (לרבות מסמך סרוק) 
המצורף להודעת דואר אלקטרוני זאת, אין לראות באמור בהודעה אלא משום טיוטה לדיון, 
ואין להסתמך עליה לביצוע פעולה עסקית או משפטית כלשהי.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to