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
 

 

maximum records calculation

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

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Thu May 19, 2005 6:06 pm    Post subject: maximum records calculation
Reply with quote

How to calculate the maximum records the PS can store using the space parameter.
ex: SPACE(150,(100,30))

what will be the maximum records that it can hold. what is default for AVGREC.is it units or kilobytes?
Back to top
View user's profile Send private message

MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Thu May 19, 2005 7:07 pm    Post subject:
Reply with quote

Try to see this topic:
http://ibmmainframes.com/viewtopic.php?t=1683&highlight=average

Or access to IBM manual and see example 6:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2b650/12.55.6?SHELF=&DT=20040712170508&CASE=
Back to top
View user's profile Send private message
Deepa.m
Warnings : 1

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Tue May 24, 2005 11:30 am    Post subject:
Reply with quote

I want to know the formula to calculate the maximum records for the given example
SPACE(150,(100,30))

Can anyon e provide the same.
Back to top
View user's profile Send private message
Deepa.m
Warnings : 1

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Wed May 25, 2005 2:24 pm    Post subject:
Reply with quote

any updates?
Back to top
View user's profile Send private message
Deepa.m
Warnings : 1

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Wed May 25, 2005 2:28 pm    Post subject:
Reply with quote

I was not able to browse the link you provided..Just had a look at example 6.
This is what i want to know..Thanks MGIndaco
Back to top
View user's profile Send private message
vidyasaraswathi

New User


Joined: 10 May 2005
Posts: 72

PostPosted: Wed May 25, 2005 8:15 pm    Post subject: Re: maximum records calculation
Reply with quote

Here is some information:
-------------------------------------------
SPACE(trk,(100,30)) :
This results in a primary allocation of 100 tracks and up to 15 extents of 30 tracks maximum each.
The maximum space that could be allocated is:100 + (30 * 15) = 550 tracks.


TRK - specifies that space is to be allocated by tracks. 1 track on 3390 disk storage equals 56,664 bytes.

Based on this, you can calculate the max no of bytes = 56,664 * 550



Also consider the following example:
// DCB=(LRECL=80,BLKSIZE=9040,RECFM=FB)

Here No of Records= 9040/80 = 113

LRECL=x - specifies the record length of the stored data in bytes. LRECL=80 indicates a logical record length of 80 bytes. For variable-length records, LRECL indicates a maximum record length.
BLKSIZE=y - specifies the physical block length of the data in bytes. For fixed-record length records, 'y' must be a multiple of the LRECL value 'x'. The maximum blocksize allowed on 3390 disk storage is 28,332 (1/2 track) but a maximum of 28,000 is recommended.



Thanks and Regard,
Vidya Bhat
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 Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts Inserting records based on conditions vickey_dw DFSORT/ICETOOL 9 Wed Feb 22, 2017 1:33 pm


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