View previous topic :: View next topic
|
Author |
Message |
zakir
New User
Joined: 25 Feb 2009 Posts: 3 Location: Chennai
|
|
|
|
Hi all..! Is it possible to find the size of a dataset in KB or MB..?
Regards
Zakir |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
If you have the size occupied by the dataset in tracks and cylinders, may be you can calculate as
1 track - 47 kb |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I use a factor of 55.33333333 which converts the Kb allocations used in DCOLLECT into tracks, pretty much accurately for a 3390 geometry volume.
However, the DASD subsystem will convert all space requests into tracks or cylinders for physical space allocation. |
|
Back to top |
|
|
zakir
New User
Joined: 25 Feb 2009 Posts: 3 Location: Chennai
|
|
|
|
I have my dataset created in cylinders. While calculating do we need to take the size of primary secondary inaccount. If so how to find the dataset sie in KB or MB.. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
If you know the RECFM, LRECL and approximate number of records of the dataset it is easy enough to calculate the space requirements |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Zakir,
Quote: |
While calculating do we need to take the size of primary secondary inaccount. If so how to find the dataset sie in KB or MB.. |
Do a 3.4 and get the no of units allocated for your dataset. It can be in TRK, CYL, KB or MB.
As mentioned earlier
1 TRK - 47 KB
1 CYL - 15 tracks
You will have to go by the no of units allocated to u r data set and not by the units used.
Btw, Do you have RLSE parameter coded in the JCL while creating the dataset? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Which device geometry are you using ? |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Expat,
Searched the forum and got this info
Quote: |
1 track of DASD = 56Kb. |
Is this figure correct? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Yes, the track has a 56k capacity, but only about 53.3333 is usable for data. |
|
Back to top |
|
|
zakir
New User
Joined: 25 Feb 2009 Posts: 3 Location: Chennai
|
|
|
|
Aaru,
RLSE is not coded in the JCL. Can you tell me what in case of RLSE is coded.
Anyways I got clarified with your's and Expat's explanation.
Thanks for that..
Thanks and Regards
Zakir |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
The RLSE parameter is well described in the JCL referemce manual, easily reached from the "IBM Manuals" button at the top of each page. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Thanks Expat for the confirmation.
Zakir,
Check the manuals as suggested. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
why was this a COBOL question? |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Dick,
Quote: |
why was this a COBOL question?
|
It became a COBOL question just because the user is new to the forum. |
|
Back to top |
|
|
|