Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When trying to create a new PDS, I have the primary and secondary allocations both set to 10 cylinders.

The data set itself is an FB 255 but there's one parameter it's asking for which has me flummoxed.

That's the block size. This has defaulted to 27920 but I'm wary of using that value since it also defaulted to FB 80 and I'm worried these two may be related somehow.

How do you calculate a good block size for the PDS or does it not really matter?

share|improve this question
up vote 2 down vote accepted

It's a while since I've done mainframe work but basically blocksize has an impact on disk utilisation and disk response time. For FB it should be a multiple of the lrecl. Utilisation was related to how many blocks could fit into a track and how well utilised that made the track. For disk response time the recommendation usually came to making the blocksize approximately one half a track. This was probably from 8 years ago and in primarily a non-SAN environment.

share|improve this answer
    
Thanks. As it turns out, I found out I can leave that field blank anyway and DFSMS will choose a half-decent option for me. – paxdiablo Feb 2 '11 at 9:02

These days the best to do is to just not specify any blocksize anymore, e.g. within JCLs (batchjobs running on the mainframe). That way you leave it to DFSMS (and the people responsible for configuring DFSMS) to always use the best possible blocksize automatically. Same is true is you allocate a dataset from within (eg) a CLIST or REXX procedure.

That's also why over the years, many mainframe sites have performed all sorts of conversions, to just mass remove all such blocksize specifications (eg in JCLs).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.