View previous topic :: View next topic
|
Author |
Message |
jjacome266
New User
Joined: 26 Jan 2006 Posts: 12
|
|
|
|
Hi everyone:
I would like to know the best way to calculate space, every time that I am creating a PO dataset. Example: If I want to create a dataset with 40 members. What would be the best way to calculate the space.
I would like to apply it when I am working with JCL and TSO as well.
Thanks everyone
:shock: |
|
Back to top |
|
|
Vinodc
New User
Joined: 01 Dec 2005 Posts: 33 Location: Prague
|
|
|
|
Hi,
The size of PO dataset will depend on the size of members, not the number of them. and you will have to know the total size of all members to allocate the PO with exactly the same size. If the members are constant, then you can write some utility to findout the space.
or did I misunderstood your query? |
|
Back to top |
|
|
amitava Warnings : 1 Active User
Joined: 30 Oct 2005 Posts: 186 Location: India
|
|
|
|
Hi,
Its not possible to find out the size of the DS(PO in nature) in advance. For that u have 2 assume the size of the members. What VINODC has said I think is perfect 4 ur query. |
|
Back to top |
|
|
kumaresh.M
New User
Joined: 17 Feb 2006 Posts: 64 Location: Bangalore
|
|
|
|
Hi friend,
first you have to think that,
how much amount of data you have to fetch (or) code in to the dataset,
for example you have to fetch 500 bytes of data according to that we have to allocate the size of the dataset.
Corretions welcome, |
|
Back to top |
|
|
vikramkaushik_v
New User
Joined: 11 Oct 2005 Posts: 1
|
|
|
|
Hi :
You can use the command TSO SPACE which gives you the estimated space needed for the DS.
Thanks,
Vikram |
|
Back to top |
|
|
|