Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 MXG - Processing Compressed DB2 SMF r... vasanthz All Other Mainframe Topics 2 Thu May 10, 2018 12:47 am
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Merge 2 records sancraig16 SYNCSORT 19 Tue Mar 27, 2018 8:17 pm
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us