Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: To get the space details of a tape dataset on multi-volumes
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: 8593
Location: Back in jolly old England

PostPosted: Fri Dec 04, 2009 2:24 pm    Post subject:
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    Post subject:
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: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Fri Dec 04, 2009 6:01 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Dec 04, 2009 6:17 pm    Post subject:
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    Post subject:
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    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 Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us