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

difference between F and FB


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
roopannamdhari
Warnings : 1

New User


Joined: 14 Sep 2006
Posts: 71
Location: Bangalore

PostPosted: Wed Mar 26, 2008 2:37 pm
Reply with quote

Hi,

can anybody explain whats the difference between Logical record length parameter 'F'(Fixed) and 'FB'(Fixed block).
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Mar 26, 2008 2:48 pm
Reply with quote

F indicates that the records are fixed length...
FB indicates that the records are fixed length as well as blocked.

More on...
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2b670/12.52?ACTION=MATCHES&REQUEST=recfm&TYPE=FUZZY&SHELF=&DT=20070427231644&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT
Back to top
View user's profile Send private message
arivazhagan_k

New User


Joined: 05 Dec 2007
Posts: 57
Location: chennai

PostPosted: Wed Mar 26, 2008 2:49 pm
Reply with quote

This may help you.

F (Fixed)

Fixed means that one physical block on disk is one logical record and all the blocks and records are the same size. This format is seldom used.



FB (Fixed Blocked)

This format designation means that several logical records are combined into one physical block. This format can provide efficient space utilization and operation. This format is commonly used for fixed-length records.
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: Wed Mar 26, 2008 8:11 pm
Reply with quote

Hello,

As this is posted in "cobol", how does this (F/FB) relate to cobol code?

I'm not sure how F and/or FB relate to Logical RECord Length (LRECL)?

If what has been posted does not answer your question, please clarify.
Back to top
View user's profile Send private message
chituswain

New User


Joined: 01 Apr 2008
Posts: 3
Location: PPT

PostPosted: Wed Apr 02, 2008 12:02 pm
Reply with quote

Hi,

F indicates that the records are fixed length...
FB indicates that the records are fixed length as well as blocked.

Say for example, we have a file of LRECL 80 bytes and Blocksize is 8000.
That means 1 Block consists of 100 record. In real time when we are reading record from file in cobol program, it is called as I/O processing(Input/Output). TO avoid the no of I/O processing time, we are using the file that defined with FB.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Difference between VALIDPROC and CHEC... DB2 3
No new posts Difference between CEE3250C and CEE3204S COBOL Programming 2
Search our Forums:

Back to Top