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

Defining the Blocksize


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

New User


Joined: 02 May 2006
Posts: 5
Location: Chennai

PostPosted: Thu Jul 31, 2008 11:03 pm
Reply with quote

How to define the Blocksize of PS which is FB, that is if the Rec len is only 150. Is there any specific formula to do this?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 31, 2008 11:46 pm
Reply with quote

Hello,

It is best to let the system determine the blksize.

You will not need to do any calculation.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Aug 01, 2008 11:35 am
Reply with quote

As Dick said, let the system determine the blocksize,

all you need to code is RECFM & LRECL and z/OS works out the correct blocksize for the media being written to.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Fri Aug 01, 2008 12:21 pm
Reply with quote

And, this is applicable to both whether one allocates via 3.2 option of ISPF menu or creates a new DSN via an JCL.
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Fri Aug 01, 2008 12:44 pm
Reply with quote

You can calculate block size using TSO commands like TSO BLKSIZE or TSO BLK. This would depend on your installation. But goodway is, as suggsted above, let the system decide the Blksize.
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 Defining a struct PL/I & Assembler 3
No new posts defining a global LUA function in Inf... IBM Tools 1
No new posts System Determined Blocksize COBOL Programming 2
No new posts Defining SYSLIB to USS c++ (cxx) comp... All Other Mainframe Topics 2
No new posts Defining SSL Port in TCPIP for DB2 Se... TSO/ISPF 1
Search our Forums:

Back to Top