IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Reporting true size of dataset on tape


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
andy deiss

New User


Joined: 23 Sep 2011
Posts: 3
Location: usa

PostPosted: Fri Sep 23, 2011 3:18 am
Reply with quote

Inquiry on any IBM or other supported tools to report on the true size of a dataset dumped to tape. For example, a dataset of a particular size gets dumped to a tape, and is only using a portion of the block. Such as a recfm u type dataset has only 1 track written to a block at a time, and the blocksize for the dataset is 256K. Product such as RMM will only report the dataset size as being the BLOCKSIZE times the NUMBER of BLOCKS. Is there any tool or reporting mechanism that may interpret and report the ACTUAL size of the tape dataset, in other words how much actual tape was used for the dataset? In the above example, a track of data gets written to each block. If 20 tracks are written the RMM report shows 20 * 256K for the dataset size. I am looking for something that would report that actual tape useage size, or that the dataset was 20 tracks large on tape. Thankyou.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 23, 2011 3:29 am
Reply with quote

Hello and welcome to the forum,

Suggest you talk with your tape storage management people. Some of the tape management systems have an "amount of data" available.

Also suggest you do not care about part of a block being unused on a tape. It is completely insignificant (unless you have something really strange going on).

Quote:
in other words how much actual tape was used for the dataset?
Why might someone care? How might this be used if available?
Back to top
View user's profile Send private message
andy deiss

New User


Joined: 23 Sep 2011
Posts: 3
Location: usa

PostPosted: Fri Sep 23, 2011 3:38 am
Reply with quote

Hello and thankyou for your reply. The reason for this is someone is looking to use this information to bill their customers. One such charge is for tapeuseage when dumping / backing up specific datasets. After change to DSS the blocksize changed( up in size from 64K to 256K) but the amount of data written to each block did not. This part does not need to be discussed as to why, suffice to say that now RMM, which reports the size of the dataset as being BLOCKSIZE * BLOCKS now reports a size about 4 times that which was reported previously. I am looking to find if there are any other tools which may be used to actually report how much tape is used for a dataset on a tape, based on dataset name, etc.. Thankyou.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Sep 23, 2011 3:53 am
Reply with quote

If the original reported figure was good enough, why not just divide the current answer by four? If the amount of data in the block is unchanged, the number of blocks will be pretty-much equivalent now as to before.

To put it another way, just continue the calculation with the old blocksize. Or have you been "spotted" and can't go that route?

Seems kind of mean to charge for back-ups. I hope no-one does any over-zealous cost-cutting :-)
Back to top
View user's profile Send private message
andy deiss

New User


Joined: 23 Sep 2011
Posts: 3
Location: usa

PostPosted: Fri Sep 23, 2011 4:10 am
Reply with quote

Understand your thoughts. We had recommended this, but it is a manual item to be done. They wish that there should be the ability to just run a report and be done with it. There is also another workaround that would cause customer to change jcl, but this would need to be changed on too many users jobs per their feedback. We are working at this, but my inquiry is to find out if there is another tool that could report the true tape useage for a dataset, as the RMM computation of dataset size = BLOCKS time BLOCKSIZE is no longer accurate in and of itself. Thanks.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 23, 2011 7:18 pm
Reply with quote

Hello,

Seems like the "chargeback" is based on a flawed calculation. . .

Quote:
but my inquiry is to find out if there is another tool that could report the true tape useage for a dataset

If the tape contains 1 million blocks that are only 25% filled, they are still all "used" - except possibly the last block (i.e. is permanently allocated to the dataset). The true tape usage is the #blocks written. . . You are looking for the logical usage rather than the physical usage and i'm not aware of anything that tracks this automatically.

As i suggested previously, the people with the best answer as to what "stats" are available is your tape storage management.

Quote:
This part does not need to be discussed as to why
Yup, probably not here but i believe that locally (your organization) this should be addressed.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Sep 27, 2011 12:45 am
Reply with quote

When I used to do chargeback on tape volumes, it was simple. Either the volume was used or it wasn't.

Chargeback was based on the number of tape volumes used.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 27, 2011 1:22 am
Reply with quote

Hi Expat,

Yup, and there was additional cost for i/o. Writing a million blocks cost more than writing 10 blocks, but in either case the whole tape is "used".

Well, except for when someone got creative and wanted to have a multi-file volume. Don't see this so much any more with applicatoin data, but there were times when someone wanted to know how much of the volume was "used". . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top