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
 
Defining the Blocksize

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Defining the Blocksize
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

Site Director


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

PostPosted: Thu Jul 31, 2008 11:46 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Aug 01, 2008 11:35 am    Post subject:
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

Senior Member


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

PostPosted: Fri Aug 01, 2008 12:21 pm    Post subject:
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: 356
Location: New York

PostPosted: Fri Aug 01, 2008 12:44 pm    Post subject:
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    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 Defining a VSAM File as CICS Table sainathm CICS 2 Mon Mar 03, 2014 12:03 pm
No new posts defining an alias (alternate entrynam... PUMA All Other Mainframe Topics 1 Thu Feb 23, 2012 4:57 pm
No new posts kEYS parameter while defining KSDS File Mahi_e JCL & VSAM 4 Thu Mar 17, 2011 11:06 am
No new posts Defining REDEFINES cobol field in EZT rgupta71 CA Products 4 Mon Jan 31, 2011 9:30 pm
No new posts Help required for defining variable GSaikrishna CA Products 3 Tue Dec 21, 2010 4:31 am

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