Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Reporting true size of dataset on tape

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Reporting true size of dataset on tape
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

Site Director


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

PostPosted: Fri Sep 23, 2011 3:29 am    Post subject:
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Fri Sep 23, 2011 3:53 am    Post subject: Reply to: Reporting true size of dataset on tape
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    Post subject:
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

Site Director


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

PostPosted: Fri Sep 23, 2011 7:18 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 27, 2011 12:45 am    Post subject:
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

Site Director


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

PostPosted: Tue Sep 27, 2011 1:22 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us