MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Difference between RECFM=F and RECFM=FB

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
to_agrawals
Beginner


Joined: 12 Dec 2002
Posts: 26
Topics: 16

PostPosted: Wed May 07, 2003 4:17 am    Post subject: Difference between RECFM=F and RECFM=FB Reply with quote

Hi,
I tried to search but I didnot get a concvincing answer to tell the precise differnce between the two. When should we use which is not clear. What I know is that blocked implies that the i/o happens in blocks. But when i tried to allocate a dataset with RECFM=FB and not specifying the BLKSIZE, it still allocates the dataset.
Can anyone comment.
Thanks
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed May 07, 2003 6:11 am    Post subject: Reply with quote

Agarwal,

The biggest difference between RECFM=F and RECFM=FB is the blocking.

FB stands for FIXED BLOCK which means the records are blocked (logical records grouped into larger physical records) whereas the RECFM=F is not blocked and the logical record is the same as the block.

check this link and at the bottom of the link you will have a graphically image explaining the blocked records vs unblocked records.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGYA1101/4.2.2.1?DT=19930312141355

RECFM=FB is considered to be more efficient.Most shops have standard routines which will calculate the optimum blocksize when allocating.Check this link for calculating the space attibutes for a dataset. It has explanation about the blocksizes.

http://www.mvsforums.com/helpboards/viewtopic.php?t=28

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
piper
Beginner


Joined: 07 May 2003
Posts: 2
Topics: 0

PostPosted: Wed May 07, 2003 10:38 am    Post subject: Reply with quote

Rolling Eyes So What's the difference between FB and FBA?
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Wed May 07, 2003 11:31 am    Post subject: Reply with quote

FBA is FB with an ANSI (printer) carriage control character in the first byte of each record, e.g. '1' for page eject, ' ' for single space, '0' for double space, '-' for triple space, etc. For FB, the data starts in position 1. For FBA, the data starts in position 2 after the ANSI character.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group