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
 

 

Size of dataset in KB or MB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
zakir

New User


Joined: 25 Feb 2009
Posts: 3
Location: Chennai

PostPosted: Wed Jul 15, 2009 2:57 pm    Post subject: Size of dataset in KB or MB
Reply with quote

Hi all..! Is it possible to find the size of a dataset in KB or MB..?


Regards
Zakir
Back to top
View user's profile Send private message

Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Jul 15, 2009 2:59 pm    Post subject: Reply to: Size of dataset in KB or MB
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 15, 2009 3:06 pm    Post subject:
Reply with quote

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
View user's profile Send private message
zakir

New User


Joined: 25 Feb 2009
Posts: 3
Location: Chennai

PostPosted: Wed Jul 15, 2009 3:15 pm    Post subject: Reply to: Size of dataset in KB or MB
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 15, 2009 3:24 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Jul 15, 2009 3:40 pm    Post subject: Reply to: Size of dataset in KB or MB
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 15, 2009 3:42 pm    Post subject:
Reply with quote

Quote:
1 TRK - 47 KB

Which device geometry are you using ?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Jul 15, 2009 4:00 pm    Post subject: Reply to: Size of dataset in KB or MB
Reply with quote

Expat,

Searched the forum and got this info

Quote:
1 track of DASD = 56Kb.


Is this figure correct?
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: Wed Jul 15, 2009 4:06 pm    Post subject:
Reply with quote

Yes, the track has a 56k capacity, but only about 53.3333 is usable for data.
Back to top
View user's profile Send private message
zakir

New User


Joined: 25 Feb 2009
Posts: 3
Location: Chennai

PostPosted: Wed Jul 15, 2009 4:13 pm    Post subject: Reply to: Size of dataset in KB or MB
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 15, 2009 4:16 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Jul 15, 2009 5:00 pm    Post subject: Reply to: Size of dataset in KB or MB
Reply with quote

Thanks Expat for the confirmation.

Zakir,

Check the manuals as suggested.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Jul 15, 2009 5:37 pm    Post subject:
Reply with quote

why was this a COBOL question?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Jul 15, 2009 5:40 pm    Post subject: Reply to: Size of dataset in KB or MB
Reply with quote

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
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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm


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