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
 

 

About QSAM allocation

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

New User


Joined: 26 Feb 2006
Posts: 15
Location: usa

PostPosted: Wed Dec 10, 2008 3:26 pm    Post subject: About QSAM allocation
Reply with quote

Hi all,
I want to allocate a QSAM file(BlockSize=80,Record length=80,record
no = 10000),but it only cost 129 tracks instead of 132 tracks as below
rules:
for each block contain only 1 record,
for one track contain 76 block(=int((56664+668)/(668+80))
so for 10000 records will cost 10000/76 = 132 tracks

any helps will be appriciated!!
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Dec 10, 2008 3:28 pm    Post subject:
Reply with quote

Hi,

Sorry but what's the question all about ? Please reform your question or explain again what the above post is asking.
Back to top
View user's profile Send private message
vice_versa
Warnings : 1

New User


Joined: 26 Feb 2006
Posts: 15
Location: usa

PostPosted: Wed Dec 10, 2008 3:36 pm    Post subject:
Reply with quote

Hi Anuj,

My question is why it only cost 129 tracks instead of 132 tracks?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Wed Dec 10, 2008 4:39 pm    Post subject: Reply to: About QSAM allocation
Reply with quote

Quote:
My question is why it only cost 129 tracks instead of 132 tracks?


because the formula you used is wrong icon_cool.gif

look at http://ibmmainframes.com/viewtopic.php?t=35906&highlight=blocks+track
for the right formula
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 REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts Dataset Allocation error with RC 12 Sumeendar CLIST & REXX 4 Wed Jul 08, 2015 1:12 pm
No new posts Error in Dynamic Allocation of dataset amitc23 COBOL Programming 3 Wed Mar 11, 2015 1:11 pm
No new posts Dynamic allocation information retrei... steve-myers PL/I & Assembler 1 Wed Dec 10, 2014 7:03 pm
No new posts DDNAME allocation in OMVS Midhun Mohandas TSO/ISPF 1 Fri Jun 20, 2014 1:21 pm


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