IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

maximum records calculation


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Deepa.m

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Thu May 19, 2005 6:06 pm
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
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

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Tue May 24, 2005 11:30 am
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

New User


Joined: 28 Apr 2005
Posts: 99

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

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

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Wed May 25, 2005 2:28 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
Search our Forums:

Back to Top