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

To get the space details of a tape dataset on multi-volumes


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

New User


Joined: 08 Jun 2009
Posts: 36
Location: Bangalore

PostPosted: Fri Dec 04, 2009 11:13 am
Reply with quote

Hi,

Apologies as this query seems to be a redundant one but I could not get the answer even after searching in the forum/manual.

I want to get the space details for a tape dataset on multiple volumes. I found the REXX/CLIST ways of getting this done in the forum. I want to get this done by an ISPF command. Is there any ISPF command for this?

I know ISPF DSINFO gets the dataset information.

I tried this on the ISPF command shell:

1)

Code:
ISPEXEC  DSINFO DATASET(SARTPRDT.ARCPRADH.V2R4.TBLS.A1DB.G0001V00)


But am getting the following error:

Code:
ISPD222  Command not allowed - 'ISPEXEC' not allowed from command line or nested in SELECT CMD request.


2)

Code:
DSINFO DATASET(SARTPRDT.ARCPRADH.V2R4.TBLS.A1DB.G0001V00)


For this I get the following error:

Code:
 Syntax error processing DSNINFO call.                       
 Verify your arguments and retry the request.                 
 DSINFO Usage:                                               
                                                             
   >>-- DSINFO -- dsname --------+-----------------+-------->
                                 |                 |         
                                 +-- VOL(volser) --+         
                                                             
   >--+--------------------------+--------------------------><
      |                          |                           
      |          +-- B --+       |                           
      |          |       |       |                           
      +-- OPT( --+-------+-- ) --+                           
                 |       |                                   
                 +-- F --+                                   
                                                             
 Where:                                                       
                                                             
   dsname - is the name of the dataset.                       
   volser - is the 1-6 digit volume serial number.           
   B      - indicates basic information request (default).   
   F      - indicates full information request.               


Is the syntax of the DSINFO correct? Thanks for the help.

Thanks and regards,
Vivek
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Dec 04, 2009 2:24 pm
Reply with quote

A tape dataset takes no space at all, it is not on DASD, therefor can not use space.

I suppose to be pedantic I could suggest that you measure the tape and multiply the length by width to get the amount of floor space it consumes icon_rolleyes.gif or even throw in the height to get the volume it consumes.

Please explain exactly what it is that you want to achieve and maybe we will be more helpful.
Back to top
View user's profile Send private message
viveksurya

New User


Joined: 08 Jun 2009
Posts: 36
Location: Bangalore

PostPosted: Fri Dec 04, 2009 5:37 pm
Reply with quote

Thanks expat.

Actually in our system, we archive the datasets (on disk) to the datasets (on tape). These datasets on tape reside on multiple volumes. There is plan to create new files in the system for business requirement and later they will also be archived. Consequently, we need to increase the space on disk and tape both. So for this reason, I need to calculate the size of the datasets on tape. Hope this ia a bit more clear.

Thanks and regards,
Vivek
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Dec 04, 2009 6:01 pm
Reply with quote

An estimate (for fixed length data sets) is to find the number of blocks for the tape data set (either from a tape map utility, your tape management system, or whatever) and multiply by the block size to get total number of bytes. Variable length data sets may or may not get good estimates using this approach, though -- it depends upon the average record length.

You could also pass the tape data set through a sort to get statistics.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Dec 04, 2009 6:17 pm
Reply with quote

And how are these datasets being archived, DFdss, FDR, HSM, whatever

How can you really expect answers when we have to force details from you.

Please explain in great detail the scenario and then the chances of getting valuable comment increases exponentially.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Dec 04, 2009 9:20 pm
Reply with quote

If you can get an approximate value for the Mbytes you plan to archive per week and how long it will be retained you should be able to estimate the additional tape capacity (based on the media and compression) needed to store the data.
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
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