View previous topic :: View next topic
|
Author |
Message |
viveksurya
New User
Joined: 08 Jun 2009 Posts: 36 Location: Bangalore
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 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 |
|
|
viveksurya
New User
Joined: 08 Jun 2009 Posts: 36 Location: Bangalore
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
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 |
|
|
|